MediaWiki
master
SearchGetNearMatchHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Search\Hook
;
4
5
use
MediaWiki\Title\Title
;
6
14
interface
SearchGetNearMatchHook
{
25
public
function
onSearchGetNearMatch
( $term, &$title );
26
}
MediaWiki\Title\Title
Represents a title within MediaWiki.
Definition
Title.php:78
MediaWiki\Search\Hook\SearchGetNearMatchHook
This is a hook handler interface, see docs/Hooks.md.
Definition
SearchGetNearMatchHook.php:14
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
Definition
PrefixSearchBackendHook.php:3
includes
search
Hook
SearchGetNearMatchHook.php
Generated on Mon Dec 2 2024 22:25:10 for MediaWiki by
1.10.0