MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onNamespaceIsMovable ( $index, &$result) | |
This hook is called when determining if it is possible to move pages in a namespace. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "NamespaceIsMovable" to register handlers implementing this interface.
Definition at line 12 of file NamespaceIsMovableHook.php.
MediaWiki\Hook\NamespaceIsMovableHook::onNamespaceIsMovable | ( | $index, | |
& | $result ) |
This hook is called when determining if it is possible to move pages in a namespace.
int | $index | Index of the namespace being checked |
bool | &$result | Whether MediaWiki currently thinks that pages in this namespace are movable. Hooks may change this value to override the return value of NamespaceInfo::isMovable(). |
Implemented in MediaWiki\HookContainer\HookRunner.