MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onSearchAfterNoDirectMatch ( $term, &$title) | |
This hook is called if there was no match for the exact result. | |
Stable to implement.
Definition at line 11 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.