|
MediaWiki REL1_35
|
Stable to implement. More...

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