MediaWiki  master
TitleReadWhitelistHook.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use Title;
6 use User;
7 
28  public function onTitleReadWhitelist( $title, $user, &$whitelisted );
29 }
MediaWiki\Permissions\Hook
Definition: GetUserPermissionsErrorsExpensiveHook.php:3
$title
$title
Definition: testCompression.php:38
MediaWiki\Permissions\Hook\TitleReadWhitelistHook
This is a hook handler interface, see docs/Hooks.md.
Definition: TitleReadWhitelistHook.php:15
Title
Represents a title within MediaWiki.
Definition: Title.php:46
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:66
MediaWiki\Permissions\Hook\TitleReadWhitelistHook\onTitleReadWhitelist
onTitleReadWhitelist( $title, $user, &$whitelisted)
This hook is called at the end of read permissions checks, just before adding the default error messa...