Extension:TorBlock/Hooks/TorBlockBlockedMsg
TorBlockBlockedMsg | |
---|---|
Available from version ??? (Gerrit change 84331) Allows site customization of blocked message |
|
Define function: | public static function onTorBlockBlockedMsg( string &$blockedMsg ) { ... }
|
Attach hook: | $wgHooks['TorBlockBlockedMsg'][] = 'MyExtensionHooks::onTorBlockBlockedMsg';
|
Called from: | File(s): TorBlock / includes/TorBlockHooks.php Function(s): onGetUserPermissionsErrorsExpensive, onEmailUserPermissionsErrors |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:TorBlockBlockedMsg extensions.
Parameters
edit&$blockedMsg
: Astring
representing an i18n message key. This defaults to'torblock-blocked'
.