Hotfix: Cannot rename emptyPortlet to empty-portlet yet.

Given the regression, we can't make this rename just yet. Restore
the old class with the documentation block that should have been there
before. We'll deal with this rename later.

Bug: T253912
Change-Id: I0672b05bc3eb9564e1943ee8099bafb959dc474d
This commit is contained in:
jdlrobson 2020-05-28 16:00:32 -07:00
parent f3fa7d3298
commit 56f7520120
1 changed files with 8 additions and 3 deletions

View File

@ -2,9 +2,14 @@
@import 'mediawiki.mixins.less';
/* Hide empty portlets */
// FIXME: Remove when cache cleared.
.emptyPortlet,
.vector-menu-empty {
// This class has special magical powers. It can be removed by
// mw.util.addPortletLink
// in core:resources/src/mediawiki.util/util.js
// When I93fb6c96df9f238d1c0281cb66512b135ca2afc2 has been merged
// and is deployed this line of CSS should be removed or replaced
// with the class ".vector-menu-empty"
// See T253912.
.emptyPortlet {
display: none;
}