mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-27 09:00:04 +00:00
6e9506dcad
Server render the table of contents in a collapsed state when the total number of headings is equal or greater than the value of `$wgVectorTableOfContentsCollapseAtCount`. Otherwise, the table of contents will be server rendered in its "expanded" state. In addition: * Revise table of contents tests to call one `assertion` per element so that it is easier to see the exact element that may fail an assertion. * Revise table of contents tests to call a mount function that can merge props to allow for a more flexible set of tests. * Revise table of contents tests by wrapping a `describe` around tests that expect the same prop state. * Adds typedef for table of sections props Bug: T300973 Depends-On: Ifaee451e1903f2accd0ada2f2ed6dfa3f83037b6 Change-Id: I382200bc603b6abf757a91f14a8a55a6581969bd |
||
---|---|---|
.. | ||
legacy | ||
Button.mustache | ||
Footer.mustache | ||
Footer__row.mustache | ||
Header.mustache | ||
Indicators.mustache | ||
Logo.mustache | ||
Menu.mustache | ||
Navigation.mustache | ||
SearchBox.mustache | ||
Sidebar.mustache | ||
SidebarAction.mustache | ||
skin-legacy.mustache | ||
skin.mustache | ||
StickyHeader.mustache | ||
TableOfContents.mustache | ||
TableOfContents__line.mustache | ||
TableOfContents__topSection.mustache | ||
UserLinks.mustache | ||
UserLinks__login.mustache | ||
UserLinks__logout.mustache | ||
UserLinks__more.mustache |