MediaWiki  master
UserIsBlockedFromHook.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use Title;
6 use User;
7 
29  public function onUserIsBlockedFrom( $user, $title, &$blocked, &$allowUsertalk );
30 }
MediaWiki\Permissions\Hook\UserIsBlockedFromHook
This is a hook handler interface, see docs/Hooks.md.
Definition: UserIsBlockedFromHook.php:15
MediaWiki\Permissions\Hook
Definition: GetUserPermissionsErrorsExpensiveHook.php:3
$title
$title
Definition: testCompression.php:38
MediaWiki\Permissions\Hook\UserIsBlockedFromHook\onUserIsBlockedFrom
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 ...
Title
Represents a title within MediaWiki.
Definition: Title.php:41
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:56