Manual:Hooks/SpecialSearchPowerBox

Details
The equivalent of for the advanced form, a.k.a. power search box.


 * The first parameter, $showSections, is an array of the following keys containing input forms:
 * 'namespaceTables'
 * 'redirects' (if supported by the search engine)
 * $term is the search term
 * $opts is an array of hidden options with keys 'redirs' and 'profile', of which only 'profile' is added as hidden input. Starting from MediaWiki 1.32, $opts passed by reference. This mean allowing extensions to modify or even unset it.