mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
91c25bc253
The opt-out link was missing a tooltip which is important for accessibility and to help people gain more context as to what it does. Bug: T250093 Change-Id: Ie6cbaf5c941615d1662700415b8f1823987a563d
26 lines
897 B
Plaintext
26 lines
897 B
Plaintext
{{!
|
|
@typedef object emphasized-sidebar-action
|
|
@prop string href
|
|
@prop string text
|
|
|
|
string html-logo-attributes for site logo. Must be used inside tag e.g. `class="logo" lang="en-gb"`
|
|
array array-portals contains options for Portal template
|
|
emphasized-sidebar-action data-emphasized-sidebar-action For displaying an emphasized action in the sidebar.
|
|
@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}}
|
|
{{#array-portals-first}}{{>Portal}}{{/array-portals-first}}
|
|
{{#data-emphasized-sidebar-action}}
|
|
<div class="vector-emphasized-sidebar-action">
|
|
<a class="vector-emphasized-sidebar-action-link" title="{{title}}" href="{{href}}">{{text}}</a>
|
|
</div>
|
|
{{/data-emphasized-sidebar-action}}
|
|
{{#array-portals-rest}}{{>Portal}}{{/array-portals-rest}}
|
|
</div>
|