mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 03:34:25 +00:00
823c3f0bb9
In preparation for moving the languages out of the sidebar (T256023) and to facilitate experimentation in the Universal Language Selector extension, we should separate the data from the languages portal from other portals. Note the languages portal has traditionally appeared at the bottom of the sidebar, so this can be done safely in the same way we introduced data-portals-first Change-Id: I4be06278ec256cc55aee36c2946339fb49d21b46
16 lines
449 B
Plaintext
16 lines
449 B
Plaintext
{{!
|
|
See @typedef SidebarData
|
|
string html-logo-attributes for site logo. Must be used inside tag e.g. `class="logo" lang="en-gb"`
|
|
}}
|
|
|
|
<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}}
|
|
{{#data-portals-languages}}{{>Menu}}{{/data-portals-languages}}
|
|
</div>
|