|
MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...

Public Member Functions | |
| onSpecialSearchPowerBox (&$showSections, $term, &$opts) | |
| Use this hook to modify advanced search profile forms. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SpecialSearchPowerBox" to register handlers implementing this interface.
Definition at line 12 of file SpecialSearchPowerBoxHook.php.
| MediaWiki\Search\Hook\SpecialSearchPowerBoxHook::onSpecialSearchPowerBox | ( | & | $showSections, |
| $term, | |||
| & | $opts ) |
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.
| string[] | &$showSections | Array to add values with more options to |
| string | $term | Search term (not a title object) |
| string[] | &$opts | Array of hidden options (containing 'redirs' and 'profile') |
Implemented in MediaWiki\HookContainer\HookRunner.