MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onUserIsBlockedFrom ( $user, $title, &$blocked, &$allowUsertalk) | |
Use this hook to check if a user is blocked from a specific page (for specific block exemptions if a user is already blocked). | |
Stable to implement.
Definition at line 12 of file UserIsBlockedFromHook.php.
MediaWiki\Permissions\Hook\UserIsBlockedFromHook::onUserIsBlockedFrom | ( | $user, | |
$title, | |||
& | $blocked, | ||
& | $allowUsertalk | ||
) |
Use this hook to check if a user is blocked from a specific page (for specific block exemptions if a user is already blocked).
User | $user | User in question |
Title | $title | Title of the page in question |
bool | &$blocked | Out-param, whether or not the user is blocked from that page |
bool | &$allowUsertalk | If the user is blocked, whether or not the block allows users to edit their own user talk pages |
Implemented in MediaWiki\HookContainer\HookRunner.