Page MenuHomeWickedGov Phorge

SpecialSearchNogomatchHook.php
No OneTemporary

Size
810 B
Referenced Files
None
Subscribers
None

SpecialSearchNogomatchHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\Title\Title;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialSearchNogomatch" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SpecialSearchNogomatchHook {
/**
* This hook is called when the 'Go' feature is triggered and the target doesn't exist.
*
* This generally comes from autocomplete search other than the main bar on Special:Search.
* Full text search results are generated after this hook is called.
*
* @since 1.35
*
* @param Title &$title Title object generated from the text entered by the user
* @return bool|void True or no return value to continue or false to abort
*/
public function onSpecialSearchNogomatch( &$title );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 18 2026, 09:20 (6 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2d/f2/bb663de263d9acf1aaf4c26bdf85
Default Alt Text
SpecialSearchNogomatchHook.php (810 B)

Event Timeline