MediaWiki REL1_40
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onLanguageGetNamespaces (&$namespaces) | |
Use this hook to provide custom ordering for namespaces or remove namespaces. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "LanguageGetNamespaces" to register handlers implementing this interface.
Definition at line 12 of file LanguageGetNamespacesHook.php.
MediaWiki\Hook\LanguageGetNamespacesHook::onLanguageGetNamespaces | ( | & | $namespaces | ) |
Use this hook to provide custom ordering for namespaces or remove namespaces.
Do not use this hook to add namespaces. Use CanonicalNamespaces for that.
string[] | &$namespaces | Array of namespaces indexed by their numbers |
Implemented in MediaWiki\HookContainer\HookRunner.