MediaWiki
REL1_41
GetUserPermissionsErrorsHook.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
use
MessageSpecifier
;
8
16
interface
GetUserPermissionsErrorsHook
{
35
public
function
onGetUserPermissionsErrors
( $title, $user, $action, &$result );
36
}
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:76
MediaWiki\User\User
internal since 1.36
Definition
User.php:98
MediaWiki\Permissions\Hook\GetUserPermissionsErrorsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetUserPermissionsErrorsHook.php:16
MediaWiki\Permissions\Hook\GetUserPermissionsErrorsHook\onGetUserPermissionsErrors
onGetUserPermissionsErrors( $title, $user, $action, &$result)
Use this hook to add a permissions error when permissions errors are checked for.
MessageSpecifier
Definition
MessageSpecifier.php:24
MediaWiki\Permissions\Hook
Definition
GetUserPermissionsErrorsExpensiveHook.php:3
includes
Permissions
Hook
GetUserPermissionsErrorsHook.php
Generated on Wed Nov 27 2024 07:24:21 for MediaWiki by
1.10.0