MediaWiki  master
SearchGetNearMatchBeforeHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Search\Hook;
4 
5 use Title;
6 
25  public function onSearchGetNearMatchBefore( $allSearchTerms, &$titleResult );
26 }
MediaWiki\Search\Hook\SearchGetNearMatchBeforeHook\onSearchGetNearMatchBefore
onSearchGetNearMatchBefore( $allSearchTerms, &$titleResult)
Use this hook to perform exact-title-matches in "go" searches before the normal operations.
MediaWiki\Search\Hook
Definition: PrefixSearchBackendHook.php:3
Title
Represents a title within MediaWiki.
Definition: Title.php:47
MediaWiki\Search\Hook\SearchGetNearMatchBeforeHook
This is a hook handler interface, see docs/Hooks.md.
Definition: SearchGetNearMatchBeforeHook.php:14