mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
15d95fc24a
Changes: * Code is moved from SkinVector to SkinVectorLegacy verbatim since it is now only needed by SkinVectorLegacy so we remove it: ** This step broke MainMenu rendering so this was captured in VectorComponentMainMenu ** The isLegacy code no longer makes sense and is removed in a follow up * storybook no longer run on CI Authors: Bernard Wang and Jon Robson Bug: T321102 Bug: T319349 Change-Id: Ib424ca1c767161fdae8c0aeedfe662b7fa039ff6
32 lines
1.1 KiB
Plaintext
32 lines
1.1 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}}
|
|
<label
|
|
id="vector-toc-collapsed-button"
|
|
class="mw-ui-button mw-ui-quiet mw-ui-icon mw-ui-icon-flush-left mw-ui-icon-element mw-ui-icon-wikimedia-listBullet mw-checkbox-hack-button"
|
|
for="vector-toc-collapsed-checkbox"
|
|
role="button"
|
|
aria-controls="toc-toggle-list"
|
|
data-event-name="vector.toc-toggle-list"
|
|
tabindex="0"
|
|
title="{{msg-vector-toc-menu-tooltip}}">
|
|
{{msg-vector-toc-collapsible-button-label}}
|
|
</label>
|
|
{{/data-toc}}
|
|
|
|
{{{html-title-heading}}}
|
|
|
|
{{#is-language-in-content-top}}
|
|
{{#data-lang-btn}}
|
|
{{>Dropdown}}
|
|
{{/data-lang-btn}}
|
|
{{/is-language-in-content-top}}
|
|
|
|
{{^is-language-in-content-top}}
|
|
{{>Indicators}}
|
|
{{/is-language-in-content-top}}
|
|
</header>
|