2019-12-06 23:37:39 +00:00
|
|
|
{{!
|
|
|
|
string|null searchHeaderAttrsHTML
|
|
|
|
string|null searchInputLabel
|
|
|
|
string searchActionURL
|
|
|
|
string searchDivID
|
|
|
|
string|null searchInputHTML
|
|
|
|
string|null titleHTML
|
|
|
|
string|null fallbackSearchButtonHTML
|
|
|
|
string|null searchButtonHTML
|
|
|
|
}}
|
2019-11-20 19:43:07 +00:00
|
|
|
<div id="p-search" role="search">
|
2019-12-06 23:37:39 +00:00
|
|
|
<h3 {{{searchHeaderAttrsHTML}}}>
|
2019-11-20 19:43:07 +00:00
|
|
|
<label for="searchInput">{{searchInputLabel}}</label>
|
|
|
|
</h3>
|
2019-12-06 23:37:39 +00:00
|
|
|
<form action="{{searchActionURL}}" id="searchform">
|
2019-11-20 19:43:07 +00:00
|
|
|
<div id="{{searchDivID}}">
|
|
|
|
{{{searchInputHTML}}}
|
|
|
|
{{{titleHTML}}}
|
|
|
|
{{! We construct two buttons (for 'go' and 'fulltext' search modes), but only one will be
|
|
|
|
visible and actionable at a time (they are overlaid on top of each other in CSS).
|
|
|
|
* Browsers will use the 'fulltext' one by default (as it's the first in tree-order),
|
|
|
|
which is desirable when they are unable to show search suggestions (either due to being
|
|
|
|
broken or having JavaScript turned off).
|
|
|
|
* The mediawiki.searchSuggest module, after doing tests for the broken browsers, removes
|
|
|
|
the 'fulltext' button and handles 'fulltext' search itself; this will reveal the 'go'
|
|
|
|
button and cause it to be used. !}}
|
|
|
|
{{{fallbackSearchButtonHTML}}}
|
|
|
|
{{{searchButtonHTML}}}
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|