|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onUserIsBlockedGlobally ( $user, $ip, &$blocked, &$block) | |
| Use this hook to establish that a user is blocked on all wikis. | |
Stable to implement.
Definition at line 11 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 | User object |
| 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.