Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4147886
SearchableNamespacesHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
583 B
Referenced Files
None
Subscribers
None
SearchableNamespacesHook.php
View Options
<?php
namespace
MediaWiki\Search\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SearchableNamespaces" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SearchableNamespacesHook
{
/**
* Use this hook to modify which namespaces are searchable.
*
* @since 1.35
*
* @param int[] &$arr Array of namespaces ($nsId => $name) which will be used
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onSearchableNamespaces
(
&
$arr
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 18:34 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
6f/ae/ad22c23986dcf7680dfc2d9ca3ef
Default Alt Text
SearchableNamespacesHook.php (583 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment