mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 10:46:54 +00:00
a1199a0917
Restricted to the feature flag (?vectorvisualenhancementnext=1) for now to allow us to not worry about caching. mw-ui-icon-flush-left and mw-ui-icon-flush-right have been in core for some time and using them means we don't have to manage hardcoded values for these. We'll need to think of .mixin-vector-flush-left-left and .mixin-vector-flush-right-margin-left separately - I wonder if these could be revised to use these 2 standard classes. Additional changes: - Drop unused mixin-vector-flush-right-margin-left mixin Bug: T321504 Bug: T317583 Change-Id: I51f8e31be6771a3fb32fb07dc22d0c2872b5706d
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-portlets.data-languages}}
|
|
{{>Menu}}
|
|
{{/data-portlets.data-languages}}
|
|
{{/is-language-in-content-top}}
|
|
|
|
{{^is-language-in-content-top}}
|
|
{{>Indicators}}
|
|
{{/is-language-in-content-top}}
|
|
</header>
|