MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onGetBlockErrorMessageKey (Block $block, string &$key) | |
This hook is called in BlockErrorFormatter to allow extensions to override the message that will be displayed to the user. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "GetBlockErrorMessageKey" to register handlers implementing this interface.
Definition at line 14 of file GetBlockErrorMessageKeyHook.php.
MediaWiki\Hook\GetBlockErrorMessageKeyHook::onGetBlockErrorMessageKey | ( | Block | $block, |
string & | $key ) |
This hook is called in BlockErrorFormatter to allow extensions to override the message that will be displayed to the user.
Block | $block | |
string | &$key |