mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-18 21:15:50 +00:00
0fac9045ac
Split out the sidebar in advance of significant Latest mode only changes. The Less split was made by adding a new Sidebar.less file that imports the Legacy implementation. The Mustache split was made by file copying the existing implementation into a legacy/ subfolder. Both the Legacy and Latest implementations were then stripped of templates not applicable to their modes. These changes are aligned with the splits for JavaScript. Bug: T246419 Change-Id: Ib82769ea16bfc09efe8a088220aab55bdde0d381
17 lines
485 B
Plaintext
17 lines
485 B
Plaintext
{{!
|
|
string html-logo-attributes for site logo. Must be used inside tag e.g. `class="logo" lang="en-gb"`
|
|
MenuDefinition data-portals-first
|
|
MenuDefinition[] array-portals-rest
|
|
@prop boolean has-logo whether to show a logo or not.
|
|
}}
|
|
|
|
<div id="mw-panel">
|
|
{{#has-logo}}
|
|
<div id="p-logo" role="banner">
|
|
<a {{{html-logo-attributes}}}></a>
|
|
</div>
|
|
{{/has-logo}}
|
|
{{#data-portals-first}}{{>Menu}}{{/data-portals-first}}
|
|
{{#array-portals-rest}}{{>Menu}}{{/array-portals-rest}}
|
|
</div>
|