Extension:GlobalBlocking/Hooks/GlobalBlockingBlockedIpRangeMsg

From Linux Web Expert

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

GlobalBlockingBlockedIpRangeMsg
Available from version ???

Define function:
public static function onGlobalBlockingBlockedIpRangeMsg( string &$errorMsg ) { ... }
Attach hook:
$wgHooks['GlobalBlockingBlockedIpRangeMsg'][] = 'MyExtensionHooks::onGlobalBlockingBlockedIpRangeMsg';
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:GlobalBlockingBlockedIpRangeMsg extensions.