mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-17 20:52:14 +00:00
16b34aa750
Not only might this make more sense from an accessibility standpoint
(because sidebar is also part of navigation and there is a heading with
that name), but it should also hide the sidebar when printing as there
are core styles that hide #mw-navigation.
[1] 3b381b71e9/resources/src/mediawiki.skinning/commonPrint.css (L31)
Bug: T265217
Change-Id: I7f936defa177ba172e4253ee6450040ffa52e257
19 lines
538 B
Plaintext
19 lines
538 B
Plaintext
<div id="mw-navigation">
|
|
<h2>{{msg-navigation-heading}}</h2>
|
|
{{#data-portlets-sidebar}}{{>Sidebar}}{{/data-portlets-sidebar}}
|
|
<div id="mw-head">
|
|
<div class="mw-article-toolbar-container">
|
|
{{#data-portlets}}
|
|
<div id="left-navigation">
|
|
{{#data-namespaces}}{{>Menu}}{{/data-namespaces}}
|
|
{{#data-variants}}{{>Menu}}{{/data-variants}}
|
|
</div>
|
|
<div id="right-navigation">
|
|
{{#data-views}}{{>Menu}}{{/data-views}}
|
|
{{#data-actions}}{{>Menu}}{{/data-actions}}
|
|
</div>
|
|
{{/data-portlets}}
|
|
</div>
|
|
</div>
|
|
</div>
|