MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUserIsBlockedGlobally ( $user, $ip, &$blocked, &$block) | |
Use this hook to establish that a user is blocked on all wikis. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserIsBlockedGlobally" to register handlers implementing this interface.
Definition at line 14 of file UserIsBlockedGloballyHook.php.
MediaWiki\User\Hook\UserIsBlockedGloballyHook::onUserIsBlockedGlobally | ( | $user, | |
$ip, | |||
& | $blocked, | ||
& | $block ) |
Use this hook to establish that a user is blocked on all wikis.
User | $user | |
string | $ip | User's IP address |
bool | &$blocked | Whether the user is blocked, to be modified by the hook |
null | &$block | The Block object, to be modified by the hook |
Implemented in MediaWiki\HookContainer\HookRunner.