Page MenuHomeWickedGov Phorge

LanguageGetNamespacesHook.php
No OneTemporary

Size
688 B
Referenced Files
None
Subscribers
None

LanguageGetNamespacesHook.php

<?php
namespace MediaWiki\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "LanguageGetNamespaces" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface LanguageGetNamespacesHook {
/**
* Use this hook to provide custom ordering for namespaces or
* remove namespaces. Do not use this hook to add namespaces. Use
* CanonicalNamespaces for that.
*
* @since 1.35
*
* @param string[] &$namespaces Array of namespaces indexed by their numbers
* @return bool|void True or no return value to continue or false to abort
*/
public function onLanguageGetNamespaces( &$namespaces );
}

File Metadata

Mime Type
text/x-php
Expires
Oct 2 2026, 19:47 (5 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
50/ca/dcfd3a5abfc2afae796d5bc983a6
Default Alt Text
LanguageGetNamespacesHook.php (688 B)

Event Timeline