UserBlockedError passes the global request context to the block methods that format errors.
We can improve on this:
- Only the user, language and IP are needed
- These should be passed in by the caller where possible (i.e. Actions, EditPage, SpecialPages)
We should make these improvements after the block formatter service is introduced in T227174.