MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
onSearchAfterNoDirectMatch ( $term, &$title) | |
This hook is called if there was no match for the exact result. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SearchAfterNoDirectMatch" to register handlers implementing this interface.
Definition at line 14 of file SearchAfterNoDirectMatchHook.php.
MediaWiki\Search\Hook\SearchAfterNoDirectMatchHook::onSearchAfterNoDirectMatch | ( | $term, | |
& | $title ) |
This hook is called if there was no match for the exact result.
This runs before lettercase variants are attempted, whereas 'SearchGetNearMatch' runs after.
string | $term | Search term |
Title | &$title | Outparam; set to $title object and return false for a match |
Implemented in MediaWiki\HookContainer\HookRunner.