Merge "Update search form to use the default search page from the skin"

This commit is contained in:
jenkins-bot 2021-03-25 12:57:35 +00:00 committed by Gerrit Code Review
commit 69999c2191
2 changed files with 2 additions and 0 deletions

View file

@ -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(),
];
}

View file

@ -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}}">