MediaWiki REL1_41
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onTitleIsAlwaysKnown ( $title, &$isKnown) | |
This hook is called when determining if a page exists. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "TitleIsAlwaysKnown" to register handlers implementing this interface.
Definition at line 14 of file TitleIsAlwaysKnownHook.php.
MediaWiki\Hook\TitleIsAlwaysKnownHook::onTitleIsAlwaysKnown | ( | $title, | |
& | $isKnown ) |
This hook is called when determining if a page exists.
Use this hook to override default behavior for determining if a page exists. If $isKnown is kept as null, regular checks happen. If it's a boolean, this value is returned by the isKnown method.
Title | $title | Title object that is being checked |
bool | null | &$isKnown | Whether MediaWiki currently thinks this page is known |
Implemented in MediaWiki\HookContainer\HookRunner.