MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onOpenSearchUrls (&$urls) | |
This hook is called when constructing the OpenSearch description XML. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "OpenSearchUrls" to register handlers implementing this interface.
Definition at line 12 of file OpenSearchUrlsHook.php.
MediaWiki\Hook\OpenSearchUrlsHook::onOpenSearchUrls | ( | & | $urls | ) |
This hook is called when constructing the OpenSearch description XML.
Hooks can alter or append to the array of URLs for search & suggestion formats.
array[] | &$urls | Array of associative arrays with URL element attributes |
Implemented in MediaWiki\HookContainer\HookRunner.