MediaWiki
master
GetUserPermissionsErrorsExpensiveHook.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
Wikimedia\Message\MessageSpecifier
;
8
16
interface
GetUserPermissionsErrorsExpensiveHook
{
36
public
function
onGetUserPermissionsErrorsExpensive
( $title, $user, $action,
37
&$result
38
);
39
}
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\GetUserPermissionsErrorsExpensiveHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetUserPermissionsErrorsExpensiveHook.php:16
MediaWiki\Permissions\Hook\GetUserPermissionsErrorsExpensiveHook\onGetUserPermissionsErrorsExpensive
onGetUserPermissionsErrorsExpensive( $title, $user, $action, &$result)
This hook is equal to getUserPermissionsErrors, but it is called only if expensive checks are enabled...
Wikimedia\Message\MessageSpecifier
Definition
MessageSpecifier.php:26
MediaWiki\Permissions\Hook
Definition
GetUserPermissionsErrorsExpensiveHook.php:3
includes
Permissions
Hook
GetUserPermissionsErrorsExpensiveHook.php
Generated on Thu Nov 21 2024 10:25:02 for MediaWiki by
1.10.0