From 354e00a3b5c8f8ac5e23e3b0ee30acbfd165a948 Mon Sep 17 00:00:00 2001 From: WMDE-Fisch Date: Thu, 26 Oct 2023 13:10:25 +0200 Subject: [PATCH] Always show search form on Special:Search At least for wikis that have AdvancedSearch installed it does not seem to make sense to hide the interface. It should be usefull in any case. Also there's a huge gap that should be avoided I guess. I'm not to sure for cases where AdvancedSearch is not installed. There this patch will lead to a situation where there are two search fields visible. The one at the top and the one in the main content. - Although the latter has the advantage to show the current search term. IMO this is overall still an improvement and further streamlining could be done in a follow up ( like hiding the header search field generally on the Special:Search page ). Bug: T308845 Change-Id: I477825e9d738e9934f6c6845a1ff8962f12987a9 --- skinStyles/mediawiki.special.search.styles/minerva.less | 6 ------ 1 file changed, 6 deletions(-) diff --git a/skinStyles/mediawiki.special.search.styles/minerva.less b/skinStyles/mediawiki.special.search.styles/minerva.less index 9defcafd3..81e864451 100644 --- a/skinStyles/mediawiki.special.search.styles/minerva.less +++ b/skinStyles/mediawiki.special.search.styles/minerva.less @@ -11,12 +11,6 @@ width: 100%; } -@media all and ( min-width: @width-breakpoint-tablet ) { - #search { // stylelint-disable-line selector-max-id - display: none; - } -} - // hide non-NS_FILE thumbnails until further notice // @see https://phabricator.wikimedia.org/T306883#8205230 .mw-search-result:not( .mw-search-result-ns-6 ) .searchResultImage-thumbnail {