MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onTitleReadWhitelist ( $title, $user, &$whitelisted) | |
This hook is called at the end of read permissions checks, just before adding the default error message if nothing allows the user to read the page. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "TitleReadWhitelist" to register handlers implementing this interface.
Definition at line 15 of file TitleReadWhitelistHook.php.
MediaWiki\Permissions\Hook\TitleReadWhitelistHook::onTitleReadWhitelist | ( | $title, | |
$user, | |||
& | $whitelisted ) |
This hook is called at the end of read permissions checks, just before adding the default error message if nothing allows the user to read the page.
Title | $title | Title being checked against |
User | $user | Current user |
bool | &$whitelisted | Whether this title is whitelisted |
Implemented in MediaWiki\HookContainer\HookRunner.