mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-13 17:57:06 +00:00
158269333d
Fixes 9 warnings generated by https://validator.w3.org/nu/ - The navigation role is unnecessary for element nav. - The main role is unnecessary for element main. - The contentinfo role is unnecessary for element footer. Bug: T365938 Change-Id: Ibdbe70900f9a85d904252ad8ac26e4bb6e813a1c
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
{{!-
|
|
Page titlebar - Main h1 title for all pages, with either the indicators or language selector.
|
|
When language button is visible, indicators are placed in the BeforeContent.mustache template instead.
|
|
}}
|
|
<header class="mw-body-header vector-page-titlebar{{#is-title-blank}} vector-page-titlebar-blank{{/is-title-blank}}">
|
|
{{#data-toc}}
|
|
{{! TOC is moved into this dropdown from the sidebar in stickyHeader.js. }}
|
|
<nav aria-label="{{ msg-vector-toc-label }}" class="vector-toc-landmark">
|
|
{{#data-page-titlebar-toc-dropdown}}{{>Dropdown/Open}}{{/data-page-titlebar-toc-dropdown}}
|
|
{{#data-page-titlebar-toc-pinnable-container}}
|
|
{{>PinnableContainer/Unpinned/Open}}
|
|
{{^is-pinned}}
|
|
{{#data-toc}}{{>TableOfContents}}{{/data-toc}}
|
|
{{/is-pinned}}
|
|
{{>PinnableContainer/Close}}
|
|
{{/data-page-titlebar-toc-pinnable-container}}
|
|
{{#data-page-titlebar-toc-dropdown}}{{>Dropdown/Close}}{{/data-page-titlebar-toc-dropdown}}
|
|
</nav>
|
|
{{/data-toc}}
|
|
{{{html-title-heading}}}
|
|
{{#has-buttons-in-content-top}}
|
|
{{#data-lang-dropdown}}
|
|
{{>LanguageDropdown}}
|
|
{{/data-lang-dropdown}}
|
|
{{#data-add-topic-button}}
|
|
{{>Button}}
|
|
{{/data-add-topic-button}}
|
|
{{/has-buttons-in-content-top}}
|
|
{{^has-buttons-in-content-top}}
|
|
{{>Indicators}}
|
|
{{/has-buttons-in-content-top}}
|
|
</header>
|