Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5946637
LanguageGetNamespacesHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
688 B
Referenced Files
None
Subscribers
None
LanguageGetNamespacesHook.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment