MediaWiki
master
TitleReadWhitelistHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Permissions\Hook
;
4
5
use
MediaWiki\Title\Title
;
6
use
MediaWiki\User\User
;
7
15
interface
TitleReadWhitelistHook
{
28
public
function
onTitleReadWhitelist
( $title, $user, &$whitelisted );
29
}
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
MediaWiki\Permissions\Hook\TitleReadWhitelistHook
This is a hook handler interface, see docs/Hooks.md.
Definition
TitleReadWhitelistHook.php:15
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...
MediaWiki\Permissions\Hook
Definition
GetUserPermissionsErrorsExpensiveHook.php:3
includes
Permissions
Hook
TitleReadWhitelistHook.php
Generated on Tue Oct 8 2024 06:24:45 for MediaWiki by
1.10.0