mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 03:34:25 +00:00
71672d60b3
Broken in my previous commit, d6f4aaa
. This causes attributes to be
doubly escaped. For example,
http://localhost:8181/wiki/Main_Page?uselang=he.
Change-Id: I9776a3c355081dc5fec7753edf256f55dfe6045b
22 lines
974 B
Plaintext
22 lines
974 B
Plaintext
<div id="p-search" role="search">
|
|
<h3 {{{searchHeaderAttrs}}}>
|
|
<label for="searchInput">{{searchInputLabel}}</label>
|
|
</h3>
|
|
<form action="{{searchAction}}" id="searchform">
|
|
<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>
|