mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-12 08:58:25 +00:00
Merge "Update search form to use the default search page from the skin"
This commit is contained in:
commit
69999c2191
|
@ -240,6 +240,7 @@ class MinervaTemplate extends BaseTemplate {
|
|||
$skinOptions->get( SkinOptions::TALK_AT_TOP ) ? [
|
||||
'items' => array_values( $data['content_navigation']['namespaces'] ),
|
||||
] : false,
|
||||
'searchPageTitle' => $this->getSkin()->getSearchPageTitle(),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
</a>
|
||||
</div>
|
||||
<div class="search-box">
|
||||
<input type="hidden" name="title" value="{{searchPageTitle}}"/>
|
||||
<input class="search mw-ui-background-icon-search skin-minerva-search-trigger" type="search" name="search" id="searchInput"
|
||||
autocomplete="off" placeholder="{{placeholder}}" aria-label="{{placeholder}}"
|
||||
value="{{search}}">
|
||||
|
|
Loading…
Reference in a new issue