MediaWiki REL1_35
MediaWiki\Search\Hook\SearchableNamespacesHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Search\Hook\SearchableNamespacesHook:

Public Member Functions

 onSearchableNamespaces (&$arr)
 Use this hook to modify which namespaces are searchable.
 

Detailed Description

Stable to implement.

Definition at line 9 of file SearchableNamespacesHook.php.

Member Function Documentation

◆ onSearchableNamespaces()

MediaWiki\Search\Hook\SearchableNamespacesHook::onSearchableNamespaces ( $arr)

Use this hook to modify which namespaces are searchable.

Since
1.35
Parameters
int[]&$arrArray of namespaces ($nsId => $name) which will be used
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: