Temporary hax to hide cawiki's hacked in search sidebar
authorErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 9 Feb 2017 17:17:45 +0000 (09:17 -0800)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 9 Feb 2017 17:33:16 +0000 (09:33 -0800)
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

resources/src/mediawiki.special/mediawiki.special.search.interwikiwidget.styles.less

index 923b81a..9ee1b0b 100644 (file)
@@ -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;
+}