|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onLanguageGetNamespaces (&$namespaces) | |
| Use this hook to provide custom ordering for namespaces or remove namespaces. | |
Stable to implement.
Definition at line 9 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.