MediaWiki
REL1_35
TitleReadWhitelistHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Permissions\Hook
;
4
5
use
Title
;
6
use
User
;
7
12
interface
TitleReadWhitelistHook
{
25
public
function
onTitleReadWhitelist
(
$title
, $user, &$whitelisted );
26
}
Title
Represents a title within MediaWiki.
Definition
Title.php:42
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition
User.php:60
MediaWiki\Permissions\Hook\TitleReadWhitelistHook
Stable to implement.
Definition
TitleReadWhitelistHook.php:12
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
$title
$title
Definition
testCompression.php:38
includes
Permissions
Hook
TitleReadWhitelistHook.php
Generated on Sat Apr 6 2024 00:07:39 for MediaWiki by
1.9.8