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