MediaWiki  master
TitleQuickPermissionsHook.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use Title;
6 use User;
7 
30  public function onTitleQuickPermissions( $title, $user, $action, &$errors,
31  $doExpensiveQueries, $short
32  );
33 }
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
MediaWiki\$action
string $action
Cache what action this request is.
Definition: MediaWiki.php:44
Title
Represents a title within MediaWiki.
Definition: Title.php:46
MediaWiki\Permissions\Hook\TitleQuickPermissionsHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TitleQuickPermissionsHook.php:15
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:66