MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onSearchGetNearMatch ( $term, &$title) | |
Use this hook to perform exact-title-matches in "go" searches if nothing was found. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SearchGetNearMatch" to register handlers implementing this interface.
Definition at line 14 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.