MediaWiki
fundraising/REL1_35
GetUserPermissionsErrorsHook.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
GetUserPermissionsErrorsHook
{
31
public
function
onGetUserPermissionsErrors
(
$title
, $user, $action, &$result );
32
}
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\GetUserPermissionsErrorsHook
Stable to implement.
Definition
GetUserPermissionsErrorsHook.php:12
MediaWiki\Permissions\Hook\GetUserPermissionsErrorsHook\onGetUserPermissionsErrors
onGetUserPermissionsErrors( $title, $user, $action, &$result)
Use this hook to add a permissions error when permissions errors are checked for.
MediaWiki\Permissions\Hook
Definition
GetUserPermissionsErrorsExpensiveHook.php:3
$title
$title
Definition
testCompression.php:38
includes
Permissions
Hook
GetUserPermissionsErrorsHook.php
Generated on Mon Nov 25 2024 16:15:24 for MediaWiki by
1.10.0