MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onSearchableNamespaces (&$arr) | |
Use this hook to modify which namespaces are searchable. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SearchableNamespaces" to register handlers implementing this interface.
Definition at line 12 of file SearchableNamespacesHook.php.
MediaWiki\Search\Hook\SearchableNamespacesHook::onSearchableNamespaces | ( | & | $arr | ) |
Use this hook to modify which namespaces are searchable.
int[] | &$arr | Array of namespaces ($nsId => $name) which will be used |
Implemented in MediaWiki\HookContainer\HookRunner.