From e77dbd78ab869b0db672801bca9be445c302d262 Mon Sep 17 00:00:00 2001 From: Erik Bernhardson Date: Thu, 9 Feb 2017 09:17:45 -0800 Subject: [PATCH] Temporary hax to hide cawiki's hacked in search sidebar For the sistersearch AB test we will be adding in interwiki results. For this to work we need to hide the sidebar that cawiki hacked into place via the searchmenu-new i18n message. This should only be temporary, on a full rollout the i18n message will be fixed, but for the AB test we need to leave the sidebar in place for everyone not in the test. This CSS is only delivered to pages that render the new interwiki sidebar of results and wont negatively effect users outside the test. Bug: T149806 Change-Id: I0c86b51222d7ecb68c72c45649e102d8c5589dea --- .../mediawiki.special.search.interwikiwidget.styles.less | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/src/mediawiki.special/mediawiki.special.search.interwikiwidget.styles.less b/resources/src/mediawiki.special/mediawiki.special.search.interwikiwidget.styles.less index 923b81a019..9ee1b0bd38 100644 --- a/resources/src/mediawiki.special/mediawiki.special.search.interwikiwidget.styles.less +++ b/resources/src/mediawiki.special/mediawiki.special.search.interwikiwidget.styles.less @@ -220,3 +220,8 @@ span the interwiki results across the bottom of the page. max-width: none !important; } } + +/* Evil temporary hax for cawiki */ +#sisterproject { + display: none; +} -- 2.20.1