MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onTitleQuickPermissions ( $title, $user, $action, &$errors, $doExpensiveQueries, $short) | |
This hook is called from Title::checkQuickPermissions to add to or override the quick permissions check. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "TitleQuickPermissions" to register handlers implementing this interface.
Definition at line 15 of file TitleQuickPermissionsHook.php.
MediaWiki\Permissions\Hook\TitleQuickPermissionsHook::onTitleQuickPermissions | ( | $title, | |
$user, | |||
$action, | |||
& | $errors, | ||
$doExpensiveQueries, | |||
$short ) |
This hook is called from Title::checkQuickPermissions to add to or override the quick permissions check.
Title | $title | Title being accessed |
User | $user | User performing the action |
string | $action | Action being performed |
array | &$errors | Array of errors |
bool | $doExpensiveQueries | Whether to do expensive database queries |
bool | $short | Whether to return immediately on first error |
Implemented in MediaWiki\HookContainer\HookRunner.