MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onTitleIsAlwaysKnown ( $title, &$isKnown) | |
This hook is called when determining if a page exists. | |
Stable to implement.
Definition at line 11 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.