MediaWiki  1.34.4
TextExtracts\Hooks Class Reference

Static Public Member Functions

static onApiOpenSearchSuggest (&$results)
 ApiOpenSearchSuggest hook handler. More...
 

Detailed Description

Note
GPL-2.0-or-later

Definition at line 14 of file Hooks.php.

Member Function Documentation

◆ onApiOpenSearchSuggest()

static TextExtracts\Hooks::onApiOpenSearchSuggest ( $results)
static

ApiOpenSearchSuggest hook handler.

Parameters
array&$resultsArray of search results

Definition at line 20 of file Hooks.php.

References ApiBase\LIMIT_SML1, and ApiResult\META_CONTENT.


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