The idea is that all formatters that need the user language or
other request specific context should be instantiated by
FormatterFactory.
Change-Id: I8334cc89dcf0f293298b82e004116be50a90f0d1
Changes to the use statements done automatically via script
Addition of missing use statements and changes to docs done manually
Change-Id: Ib326ae1e5c8409a98398c721e8b8ce42c73bd012
Why:
* Recent additions of multiple message display mean that
adding tests for UserBlockedError is useful in reviewing
the change.
* As I made these tests to review the change, they can be
added into the repo as tests to increase test coverage.
What:
* Add two integration tests for UserBlockedError. These
are integration tests because the class relies on the
global state (calling MediaWikiServices::getInstance in
all cases).
Bug: T349826
Change-Id: I9f27d792ac7faf9378278e729a8cef2ec39c2bba