mediawiki-skins-Vector/includes/templates
Jon Robson d4903b8e57 Remove TableOfContents mustache template and mark layout rules
Follow up to I3484a790ce8ebadf21054ac1d222d5632b2dc5a4

__Template__

The template is not particularly useful - it is only ever
used once in this context and features a static ID which means
it can never be reused. It is also tied to the #vector-toc-collapsed-checkbox
element. In current form it doesn't make sense to have this template.

Maybe in future, I could see an argument for a PinnableTableOfContents component
that wrapped the checkbox and nav element, and generalized the IDs but
currently there's no pressing need or value for that.

__Layouts__

The existing Pinned and Unpinned stylesheets are concerned with how the table
of contents is layed out holistically with regards to other components and
features enabled on the page. I think these should therefore be organized as such.
The way I reason with this, is these styles would be irrelevant in a component
library if the component was rendered in isolation.

Bug: T328719
Change-Id: I9ff0e0eeb35f215a8cae5950d08dc1277b662a71
2023-02-28 00:27:31 +00:00
..
deprecated Page tools: Main menu is a dropdown 2022-12-07 23:19:29 +00:00
Dropdown Fix dropdown icon markup to match Codex button 2023-02-21 12:41:44 -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 Promote "Add topic" button to PageTitlebar 2023-02-24 01:33:47 +00:00
Button.mustache
ColumnEnd.mustache Add generic classes to pinnable container 2022-12-20 17:22:11 -06:00
Footer.mustache
Footer__row.mustache
Header.mustache Update header spacing to match spec 2022-12-20 17:58:54 -06:00
Icon.mustache Fix dropdown icon markup to match Codex button 2023-02-21 12:41:44 -06:00
Indicators.mustache
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
Link.mustache Rename IconLink to Link 2023-02-22 22:00:24 +00:00
Logo.mustache
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 Rename IconLink to Link 2023-02-22 22:00:24 +00:00
PageTitlebar.mustache Only render TOC related HTML when TOC is available 2023-02-27 16:31:03 -06: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 Remove TableOfContents mustache template and mark layout rules 2023-02-28 00:27:31 +00:00
StickyHeader.mustache Only render TOC related HTML when TOC is available 2023-02-27 16:31:03 -06: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
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
UserLinksDropdown.mustache Revert "Updates for core temp user autocreation feature" 2023-02-21 11:30:27 -06:00
VariantsDropdown.mustache [Refactor] Rethink Dropdown component 2022-11-29 17:33:03 -08:00