mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 03:34:25 +00:00
d190f0ca9c
When `$wgGroupPermissions['*']['edit'] = false;` is set, an `emptyPortlet` class
is added to the user menu which prevents the menu from showing even though it
contains a login link.
Changes:
* Vector-22 now determines what classes are applied to the user menu's container
instead of core deciding that on Vector's behalf (L761 of
SkinVector::getUserMenuPortletData). This eliminates the undesirable
`emptyPortlet` class. This can potentially be removed upon completion of
T319356.
* Conditionally renders the learn more link based on whether
$userMenuData['is-empty'] is `true` so that we don't show the learn more link
when the anontalk and anoncontribs menu items aren't present.
Bug: T317789
Bug: T324426
Change-Id: I883926c36f59d446076f960ead31f82e51967e70
(cherry picked from commit
|
||
---|---|---|
.. | ||
ArticleToolbar.mustache | ||
Button.mustache | ||
ContentHeader.mustache | ||
ContentSubheader.mustache | ||
Footer.mustache | ||
Footer__row.mustache | ||
Header.mustache | ||
Indicators.mustache | ||
LegacyMenu.mustache | ||
LegacySidebar.mustache | ||
LegacyUserLinks.mustache | ||
Logo.mustache | ||
Menu.mustache | ||
SearchBox.mustache | ||
Sidebar.mustache | ||
SidebarAction.mustache | ||
skin-legacy.mustache | ||
skin.mustache | ||
StickyHeader.mustache | ||
TableOfContents.mustache | ||
TableOfContents__line.mustache | ||
TableOfContentsContainer.mustache | ||
UserLinks.mustache | ||
UserLinks__login.mustache | ||
UserLinks__logout.mustache | ||
UserLinks__templogin.mustache |