mediawiki-skins-Vector/includes/templates
Nicholas Ray d190f0ca9c Fix Vector 22 missing user menu on private wikis
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 990392cdeb)
2022-12-05 01:52:43 +00:00
..
ArticleToolbar.mustache Enable related tabs on Vector 2022-08-30 14:20:11 -07:00
Button.mustache Rely on core to provide accesskey/title attributes, update search toggle location in DOM 2022-04-14 13:53:07 -07:00
ContentHeader.mustache Add text to TOC collapsible button label for accessibility. 2022-07-22 10:45:40 -06:00
ContentSubheader.mustache Update #siteSub, #contentSub and #contentSub2 to fix spacing, conditionally render #contentSub and #contentSub2 2022-08-03 01:14:30 +00:00
Footer.mustache Use content-parser-output RL SkinModule feature 2021-03-25 17:34:28 +00:00
Footer__row.mustache templates: Move spaces into conditions for cleaner html 2021-09-29 14:06:07 +02:00
Header.mustache [Grid preparation] Structure the header 2022-05-05 17:54:28 +00:00
Indicators.mustache Remove mw-body-content from HTML that is not the article body 2021-05-14 00:01:52 +00:00
LegacyMenu.mustache Move Vector menu class logic into Menu mustache template 2022-07-07 12:34:23 -05:00
LegacySidebar.mustache Technical: Use unambigious menu template 2022-06-27 12:29:03 -07:00
LegacyUserLinks.mustache Technical: Use unambigious menu template 2022-06-27 12:29:03 -07:00
Logo.mustache Logo scales with font-size 2021-09-28 21:44:53 +00:00
Menu.mustache Remove gradient from modern Vector, align SidebarAction with portlet styles and classes 2022-08-17 20:41:15 +00:00
SearchBox.mustache Remove unnecessary inner-tag whitespace and self-closing tags 2022-05-24 14:46:37 -07:00
Sidebar.mustache Remove nav element from Vector menus and only render label elements in Vector menus when needed. Add new nav landmarks corresponding to user links, main site nav, and article editing tools. Split out legacy Menu template. 2022-04-27 16:52:20 +00:00
SidebarAction.mustache Remove gradient from modern Vector, align SidebarAction with portlet styles and classes 2022-08-17 20:41:15 +00:00
skin-legacy.mustache Technical: Use unambigious menu template 2022-06-27 12:29:03 -07:00
skin.mustache Fix site notice spacing 2022-08-25 11:13:57 -05:00
StickyHeader.mustache Add collapsed TOC to sticky header by moving the TOC 2022-08-11 11:25:21 +00:00
TableOfContents.mustache [ToC] Show new/modified sections after publishing an edit (new floating ToC) 2022-08-15 20:02:49 +00:00
TableOfContents__line.mustache Support additional content in table of contents 2022-08-18 23:04:47 +00:00
TableOfContentsContainer.mustache Create new sticky toc container 2022-08-31 21:27:06 +00:00
UserLinks.mustache Remove custom rendering of the user links overflow menu in favor of using 'vector-user-menu-overflow', a vector specific menu bucket in Hooks.php 2022-08-01 20:18:46 +00:00
UserLinks__login.mustache Fix Vector 22 missing user menu on private wikis 2022-12-05 01:52:43 +00:00
UserLinks__logout.mustache Rely on core to provide accesskey/title attributes, update search toggle location in DOM 2022-04-14 13:53:07 -07:00
UserLinks__templogin.mustache Updates for core temp user autocreation feature 2022-04-28 20:32:53 +00:00