LoginForm::$validErrorMessages restricts the number of valid error messages. For a custom special page which requires login e.g. Special:Uploads (on mobile) we would like to display a custom message.
Should we add a hook or is there a nicer way extensions can register new messages?
Version: unspecified
Severity: normal