MediaWiki
REL1_37
GetUserPermissionsErrorsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Permissions\Hook
;
4
5
use
MessageSpecifier
;
6
use
Title
;
7
use
User
;
8
16
interface
GetUserPermissionsErrorsHook
{
35
public
function
onGetUserPermissionsErrors
(
$title
, $user, $action, &$result );
36
}
Title
Represents a title within MediaWiki.
Definition
Title.php:48
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:69
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
$title
$title
Definition
testCompression.php:38
includes
Permissions
Hook
GetUserPermissionsErrorsHook.php
Generated on Fri Apr 5 2024 23:40:42 for MediaWiki by
1.9.8