MediaWiki
REL1_37
TitleQuickPermissionsHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Permissions\Hook
;
4
5
use
Title
;
6
use
User
;
7
15
interface
TitleQuickPermissionsHook
{
30
public
function
onTitleQuickPermissions
(
$title
, $user, $action, &$errors,
31
$doExpensiveQueries, $short
32
);
33
}
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\TitleQuickPermissionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition
TitleQuickPermissionsHook.php:15
MediaWiki\Permissions\Hook\TitleQuickPermissionsHook\onTitleQuickPermissions
onTitleQuickPermissions( $title, $user, $action, &$errors, $doExpensiveQueries, $short)
This hook is called from Title::checkQuickPermissions to add to or override the quick permissions che...
MediaWiki\Permissions\Hook
Definition
GetUserPermissionsErrorsExpensiveHook.php:3
$title
$title
Definition
testCompression.php:38
includes
Permissions
Hook
TitleQuickPermissionsHook.php
Generated on Fri Apr 5 2024 23:40:42 for MediaWiki by
1.9.8