mediawiki-skins-Vector/includes
Jan Drewniak 7d32ec80d3 Collapse ToC by default & expand sections when clicking section headings
Collapses sub-sections in the new table of contents by default
(except for non-js and reduced-motion users) and expands the
sections when the top-level section link has been clicked.

Refactors the `activateSection` TableOfContents methods into separate
`activateSection` and `deactivateSection` functions.
Adds `expandSection` and `collapseSection` methods.

Adds triangle icon as a visual expand/collapsed indicator
next to all ToC section headings and are hidden via CSS based on
whether or not the section contains subsections.

Adds test for tableOfContents.

Bug: T299361
Change-Id: I36b3ae7f9f633877683bc17a9444c970d7fa7293
2022-02-15 00:09:50 -05:00
..
FeatureManagement Drop search related feature flags 2022-01-31 21:00:22 +00:00
HTMLForm/Fields HTMLLegacySkinVersionField: accept string 'default' value 2021-11-23 00:57:25 -05:00
ResourceLoader Do not load common.js twice 2022-01-25 20:10:31 +00:00
Services search: Disable query highlight for some languages 2021-06-30 16:47:46 +01:00
templates Collapse ToC by default & expand sections when clicking section headings 2022-02-15 00:09:50 -05:00
Constants.php Drop search related feature flags 2022-01-31 21:00:22 +00:00
Hooks.php Use bodyClasses option to register static classes on skin 2022-02-04 18:44:43 +00:00
ServiceWiring.php Drop search related feature flags 2022-01-31 21:00:22 +00:00
SkinVector.php SkinVector: Minor cleanup 2022-02-06 22:48:51 +00:00
SkinVector22.php Restore gadget support to new internal skins 2022-01-07 00:18:17 +00:00
SkinVectorLegacy.php Vector is split into 2 skins 2022-01-06 15:52:10 -08:00
SkinVersionLookup.php Fix bug in SkinVersionLookup 2022-01-24 13:34:06 -08:00
VectorServices.php search: Disable query highlight for some languages 2021-06-30 16:47:46 +01:00