MediaWiki
master
UserIsBlockedFromHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Permissions\Hook
;
4
5
use
MediaWiki\Title\Title
;
6
use
MediaWiki\User\User
;
7
15
interface
UserIsBlockedFromHook
{
29
public
function
onUserIsBlockedFrom
( $user, $title, &$blocked, &$allowUsertalk );
30
}
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
MediaWiki\Permissions\Hook\UserIsBlockedFromHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UserIsBlockedFromHook.php:15
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
includes
Permissions
Hook
UserIsBlockedFromHook.php
Generated on Sat Oct 5 2024 02:24:38 for MediaWiki by
1.10.0