mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-05 14:22:56 +00:00
d24d858264
The has-logo property is redundant: The Sidebar in legacy is its own component. The logo is always rendered in the legacy sidebar. data-emphasized-sidebar-action can be unconditionally sent The legacy sidebar doesn't use it, so there is no need to conditionally add a check for legacy These two changes allow us to remove the isLegacy property in favor of the single use of the isLegacy method. Change-Id: Ie7ee3cec29b20d07db81799484627254d4a78f5f
14 lines
419 B
Plaintext
14 lines
419 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">
|
|
<div id="p-logo" role="banner">
|
|
<a {{{html-logo-attributes}}}></a>
|
|
</div>
|
|
{{#data-portals-first}}{{>Menu}}{{/data-portals-first}}
|
|
{{#array-portals-rest}}{{>Menu}}{{/array-portals-rest}}
|
|
{{#data-portals-languages}}{{>Menu}}{{/data-portals-languages}}
|
|
</div>
|