Extension:GlobalBlocking/Hooks/GlobalBlockingBlockedIpMsg

From Linux Web Expert

Revision as of 08:10, 15 February 2024 by imported>WBrown (WMF) (mark this hook as deprecated)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

GlobalBlockingBlockedIpMsg
Available from version ???

Define function:
public static function onGlobalBlockingBlockedIpMsg( string &$errorMsg ) { ... }
Attach hook:
$wgHooks['GlobalBlockingBlockedIpMsg'][] = 'MyExtensionHooks::onGlobalBlockingBlockedIpMsg';
Called from:File(s): GlobalBlocking / includes/GlobalBlocking.php
Function(s): getUserBlockDetails

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:GlobalBlockingBlockedIpMsg extensions.