MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onSearchGetNearMatch ( $term, &$title) | |
Use this hook to perform exact-title-matches in "go" searches if nothing was found. | |
Stable to implement.
Definition at line 11 of file SearchGetNearMatchHook.php.
MediaWiki\Search\Hook\SearchGetNearMatchHook::onSearchGetNearMatch | ( | $term, | |
& | $title | ||
) |
Use this hook to perform exact-title-matches in "go" searches if nothing was found.
string | $term | Search term |
Title | &$title | Outparam; set to $title object and return false for a match |
Implemented in MediaWiki\HookContainer\HookRunner.