MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onTitleIsMovable ( $title, &$result) | |
This hook is called when determining if it is possible to move a page. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "TitleIsMovable" to register handlers implementing this interface.
Definition at line 14 of file TitleIsMovableHook.php.
MediaWiki\Hook\TitleIsMovableHook::onTitleIsMovable | ( | $title, | |
& | $result ) |
This hook is called when determining if it is possible to move a page.
Note that this hook is not called for interwiki pages or pages in immovable namespaces: for these, isMovable() always returns false.
Title | $title | Title object that is being checked |
bool | &$result | Whether MediaWiki currently thinks this page is movable. Hooks may change this value to override the return value of Title::isMovable(). |
Implemented in MediaWiki\HookContainer\HookRunner.