This annotates classes that can safely be instantiated by
extensions, per the Stable Interface Policy.
Bug: T247862
Change-Id: Ia280f559874fc0750265ddeb7f831e65fd7d7d6a
This is a simple utility. I would be worried if this nears
the kind of complexity that warrants constructor parameters
and state.
Allow it to be used without instantiation for simpler use.
Follows-up I022c074e8a708fb (3b1e8a5cef).
Change-Id: I044f423c5219d72bc76bb35ecbba906df0305e49
And include tests :)
This code is independent of MediaWiki, but not really large enough to be
worth librarizing right now.
Bug: T200626
Change-Id: I022c074e8a708fb5219bc4ff4b53e7e31f60dc4b