mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-14 19:26:42 +00:00
0032b7b970
- Remove all TOC components from markup when TOC isnt available - Ensure TOC components have a consistent naming convention Follow-up: Icd871e1bdf4ab0c7aa5b906b913416f4b1747750 Change-Id: I63519b5e5392b9eb546876e7eea060b9a6c147dc
11 lines
493 B
Plaintext
11 lines
493 B
Plaintext
<nav id="mw-panel-toc" role="navigation" aria-label="{{ msg-vector-toc-label }}" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container">
|
|
{{! T313060 Additional container div needed to prevent the sticky element from being siblings with the footer }}
|
|
{{#data-toc-pinnable-container}}
|
|
{{>PinnableContainer/Pinned/Open}}
|
|
{{#is-pinned}}
|
|
{{#data-toc}}{{>TableOfContents}}{{/data-toc}}
|
|
{{/is-pinned}}
|
|
{{>PinnableContainer/Close}}
|
|
{{/data-toc-pinnable-container}}
|
|
</nav>
|