MediaWiki REL1_35
|
Stable to implement. More...
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. | |
Stable to implement.
Definition at line 12 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.