|
MediaWiki REL1_35
|
Stable to implement. More...

Public Member Functions | |
| onSearchGetNearMatchBefore ( $allSearchTerms, &$titleResult) | |
| Use this hook to perform exact-title-matches in "go" searches before the normal operations. | |
Stable to implement.
Definition at line 11 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.