MediaWiki 1.39.10
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onSearchGetNearMatchBefore ( $allSearchTerms, &$titleResult) | |
Use this hook to perform exact-title-matches in "go" searches before the normal operations. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SearchGetNearMatchBefore" to register handlers implementing this interface.
Definition at line 14 of file SearchGetNearMatchBeforeHook.php.
MediaWiki\Search\Hook\SearchGetNearMatchBeforeHook::onSearchGetNearMatchBefore | ( | $allSearchTerms, | |
& | $titleResult ) |
Use this hook to perform exact-title-matches in "go" searches before the normal operations.
string[] | $allSearchTerms | Array of the search terms in all content languages |
Title | null | &$titleResult | Outparam; the value to return |
Implemented in MediaWiki\HookContainer\HookRunner.