MediaWiki REL1_35
MediaWiki\Hook\OpenSearchUrlsHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\OpenSearchUrlsHook:

Public Member Functions

 onOpenSearchUrls (&$urls)
 This hook is called when constructing the OpenSearch description XML.
 

Detailed Description

Stable to implement.

Definition at line 9 of file OpenSearchUrlsHook.php.

Member Function Documentation

◆ onOpenSearchUrls()

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.

Since
1.35
Parameters
array[]&$urlsArray of associative arrays with URL element attributes
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: