mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-04 20:18:57 +00:00
8c578a984e
The ConfigRegistry was removed as unused but somehow reintroduced
mistakenly in the commit 80b60c15
.
The fallback to anchor for old parser cache should be good to drop.
Change-Id: I0b6effd0fd4c535298fa280da734b13d26a5d968
21 lines
923 B
Plaintext
21 lines
923 B
Plaintext
<li id="toc-{{anchor}}"
|
|
class="vector-toc-list-item vector-toc-level-{{toclevel}}{{#is-top-level-section}}{{^vector-is-collapse-sections-enabled}} vector-toc-list-item-expanded{{/vector-is-collapse-sections-enabled}}{{/is-top-level-section}}">
|
|
<a class="vector-toc-link" href="#{{linkAnchor}}">
|
|
<div class="vector-toc-text">
|
|
<span class="vector-toc-numb">{{number}}</span>{{{line}}}</div>
|
|
</a>
|
|
{{#extensionData.DiscussionTools-html-summary}}
|
|
{{{.}}}
|
|
{{/extensionData.DiscussionTools-html-summary}}
|
|
{{#is-top-level-section}}{{#is-parent-section}}
|
|
<button aria-controls="toc-{{anchor}}-sublist" class="mw-ui-icon mw-ui-icon-wikimedia-expand mw-ui-icon-small vector-toc-toggle">
|
|
{{{vector-button-label}}}
|
|
</button>
|
|
{{/is-parent-section}}{{/is-top-level-section}}
|
|
<ul id="toc-{{anchor}}-sublist" class="vector-toc-list">
|
|
{{#array-sections}}
|
|
{{>TableOfContents__line}}
|
|
{{/array-sections}}
|
|
</ul>
|
|
</li>
|