Page MenuHomeWickedGov Phorge

SpecialSearchPowerBoxHook.php
No OneTemporary

Size
863 B
Referenced Files
None
Subscribers
None

SpecialSearchPowerBoxHook.php

<?php
namespace MediaWiki\Search\Hook;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SpecialSearchPowerBox" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface SpecialSearchPowerBoxHook {
/**
* Use this hook to modify advanced search profile forms.
* This hook is equivalent to SpecialSearchProfileForm for
* the advanced form, also know as power search box.
*
* @since 1.35
*
* @param string[] &$showSections Array to add values with more options to
* @param string $term Search term (not a title object)
* @param string[] &$opts Array of hidden options (containing 'redirs' and 'profile')
* @return bool|void True or no return value to continue or false to abort
*/
public function onSpecialSearchPowerBox( &$showSections, $term, &$opts );
}

File Metadata

Mime Type
text/x-php
Expires
Aug 18 2026, 05:57 (7 w, 6 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
58/1d/85c05261a370e3f12311c940f612
Default Alt Text
SpecialSearchPowerBoxHook.php (863 B)

Event Timeline