mediawiki-skins-Vector/includes/templates
bwang 9e4bdd00bf Remove custom handling of user links menu items and handle case when anon editor links are disabled
Rather than try to build individually build login, logout, and create account menu items, we handle them the same as all other user links menu items in Hooks.php. While Hooks isnt ideal, there currently isnt a good path for moving that code to SkinComponents until core provides menu data. In the meantime, this patch reduces code complexity and prevents bugs like T324638.
This approach also allows us to move user links logic from SkinVector22 to VectorComponentUserLinks.php, and ensures the user links dropdown contains multiple menus, which allows us to reuse styles from page tools dropdowns.

Expected 11 visual changes:
* minor visual change where the user links dropdown has an
additional 4px vertical padding.
This padding was originally added to the page tools dropdowns
per Alex's request, but Alex also said that dropdowns should share
the same spacing. This change makes the styles all consistent
* Order of talk and contribution links have been swapped

Bug: T289212
Bug: T319356
Bug: T328954
Change-Id: Iac0586893fec26a8a6c2c904ce08fbf1e19b339c
2023-02-09 13:37:17 -06:00
..
deprecated Page tools: Main menu is a dropdown 2022-12-07 23:19:29 +00:00
Dropdown Remove custom handling of user links menu items and handle case when anon editor links are disabled 2023-02-09 13:37:17 -06:00
PinnableContainer Add generic classes to pinnable container 2022-12-20 17:22:11 -06:00
PinnableElement Remove -pinnable-element postfix from PinnableElement.mustache 2022-12-15 22:46:51 +00:00
BeforeContent.mustache Use tabs consistently in .mustache files 2023-01-17 11:48:34 +00: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
ColumnEnd.mustache Add generic classes to pinnable container 2022-12-20 17:22:11 -06: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 Update header spacing to match spec 2022-12-20 17:58:54 -06:00
IconLink.mustache Use tabs consistently in .mustache files 2023-01-17 11:48:34 +00:00
Indicators.mustache Remove mw-body-content from HTML that is not the article body 2021-05-14 00:01:52 +00:00
LanguageDropdown.mustache Use tabs consistently in .mustache files 2023-01-17 11:48:34 +00:00
LegacyMenu.mustache Document the importance of vector-menu class 2023-01-03 14:45:40 -08:00
LegacyMoreMenu.mustache Undo PageTools template confusion 2022-11-30 14:14:27 -08:00
LegacySidebar.mustache Legacy: Group template/styles together to avoid confusion 2022-12-01 22:31:12 +00: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
MainMenu.mustache Use tabs consistently in .mustache files 2023-01-17 11:48:34 +00:00
MainMenuAction.mustache Clean up cached .vector-menu-portal code 2022-12-15 14:30:58 -06:00
MainMenuDropdown.mustache Add generic classes to pinnable container 2022-12-20 17:22:11 -06:00
MainMenuGroup.mustache Clean up cached .vector-menu-portal code 2022-12-15 14:30:58 -06:00
MainMenuPinned.mustache Add generic classes to pinnable container 2022-12-20 17:22:11 -06:00
Menu.mustache Remove custom handling of user links menu items and handle case when anon editor links are disabled 2023-02-09 13:37:17 -06:00
MenuContents.mustache Use tabs consistently in .mustache files 2023-01-17 11:48:34 +00:00
MenuListItem.mustache Component: UserLinks 2023-01-11 21:48:11 +00:00
PageTitlebar.mustache Merge "Remove VectorComponentTableOfContentsContainer in favor of directly using VectorComponentPinnableContainer," 2023-01-25 19:38:20 +00:00
PageToolbar.mustache Component: VariantsMenu 2023-01-11 23:05:41 +00:00
PageTools.mustache Generalize Pinnable functionality to not be limited to dropdowns, make Pinnable templates composable 2022-11-30 17:17:20 -06:00
PinnableHeader.mustache Log events for pinnable header button 2023-01-05 12:15:03 -08:00
SearchBox.mustache [Technical] Drop redundant isLegacy logic 2022-11-04 17:47:14 +00:00
skin-legacy.mustache Replace incorrectly mw- prefixed classes 2022-10-25 10:28:31 -05:00
skin.mustache Use tabs consistently in .mustache files 2023-01-17 11:48:34 +00:00
StickyHeader.mustache [Clean up] Remove unnecessary container and CSS in sticky header 2023-01-13 20:11:21 +00:00
TableOfContents.mustache Update tableOfContents.js to rerender only the TOC contents rather than the entire pinnable element 2023-01-16 12:39:05 +01:00
TableOfContents__line.mustache Merge "Update displaying DiscussionTools TOC additions after parser changes" 2023-01-19 21:37:07 +00:00
TableOfContents__list.mustache [Clean up] Remove CSS and HTML from cached TOC html 2023-01-16 17:21:12 -06:00
TableOfContentsContainer.mustache Remove VectorComponentTableOfContentsContainer in favor of directly using VectorComponentPinnableContainer, 2023-01-16 17:20:03 -06:00
Tabs.mustache Document the importance of vector-menu class 2023-01-03 14:45:40 -08:00
UserLinks.mustache Rename data-user-menu prefix to data-user-links, matching the template and component naming convention, create UserLinksDropdown.mustache 2023-02-06 13:01:01 -06:00
UserLinks__templogin.mustache Updates for core temp user autocreation feature 2022-04-28 20:32:53 +00:00
UserLinksDropdown.mustache Remove custom handling of user links menu items and handle case when anon editor links are disabled 2023-02-09 13:37:17 -06:00
VariantsDropdown.mustache [Refactor] Rethink Dropdown component 2022-11-29 17:33:03 -08:00