Page MenuHomeWickedGov Phorge

SearchGetNearMatchBeforeHook.php
No OneTemporary

Size
761 B
Referenced Files
None
Subscribers
None

SearchGetNearMatchBeforeHook.php

<?php
namespace MediaWiki\Search\Hook;
use MediaWiki\Title\Title;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SearchGetNearMatchBefore" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SearchGetNearMatchBeforeHook {
/**
* Use this hook to perform exact-title-matches in "go" searches before
* the normal operations.
*
* @since 1.35
*
* @param string[] $allSearchTerms Array of the search terms in all content languages
* @param Title|null &$titleResult Outparam; the value to return
* @return bool|void True or no return value to continue or false to abort
*/
public function onSearchGetNearMatchBefore( $allSearchTerms, &$titleResult );
}

File Metadata

Mime Type
text/x-php
Expires
Oct 3 2026, 01:52 (4 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5b/00/6de457f336d6ce40807b9874f16a
Default Alt Text
SearchGetNearMatchBeforeHook.php (761 B)

Event Timeline