MediaWiki
REL1_35
UserIsBlockedFromHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Permissions\Hook
;
4
5
use
Title
;
6
use
User
;
7
12
interface
UserIsBlockedFromHook
{
26
public
function
onUserIsBlockedFrom
( $user,
$title
, &$blocked, &$allowUsertalk );
27
}
Title
Represents a title within MediaWiki.
Definition
Title.php:42
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\Permissions\Hook\UserIsBlockedFromHook
Stable to implement.
Definition
UserIsBlockedFromHook.php:12
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 ...
MediaWiki\Permissions\Hook
Definition
GetUserPermissionsErrorsExpensiveHook.php:3
$title
$title
Definition
testCompression.php:38
includes
Permissions
Hook
UserIsBlockedFromHook.php
Generated on Sat Apr 6 2024 00:07:39 for MediaWiki by
1.9.8