MediaWiki
REL1_39
SearchGetNearMatchHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Search\Hook
;
4
5
use
Title
;
6
14
interface
SearchGetNearMatchHook
{
25
public
function
onSearchGetNearMatch
( $term, &
$title
);
26
}
Title
Represents a title within MediaWiki.
Definition
Title.php:49
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
$title
$title
Definition
testCompression.php:38
includes
search
Hook
SearchGetNearMatchHook.php
Generated on Sun Nov 24 2024 20:24:13 for MediaWiki by
1.10.0