MediaWiki
REL1_35
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
12
interface
TitleQuickPermissionsHook
{
27
public
function
onTitleQuickPermissions
(
$title
, $user, $action, &$errors,
28
$doExpensiveQueries, $short
29
);
30
}
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\TitleQuickPermissionsHook
Stable to implement.
Definition
TitleQuickPermissionsHook.php:12
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 Sat Apr 6 2024 00:07:39 for MediaWiki by
1.9.8