mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
c9cdaadb5e
Use the new format to remove the need for getTemplateParser in SkinVector Bug: T319349 Change-Id: Ic4ac1d6d58099a689c29c16b3029bf43a849e50e
24 lines
735 B
Plaintext
24 lines
735 B
Plaintext
<nav class="vector-user-links{{#is-wide}} vector-user-links-wide{{/is-wide}}" aria-label="{{msg-personaltools}}" role="navigation" >
|
|
{{#data-user-menu-overflow}}{{>Menu}}{{/data-user-menu-overflow}}
|
|
{{#data-user-menu}}
|
|
|
|
{{>Dropdown/Open}}
|
|
{{#is-anon}}
|
|
{{#is-temp-user}}
|
|
{{>UserLinks__templogin}}
|
|
{{/is-temp-user}}
|
|
{{^is-temp-user}}
|
|
{{>UserLinks__login}}
|
|
{{/is-temp-user}}
|
|
{{/is-anon}}
|
|
<ul class="vector-menu-content-list">{{{html-items}}}</ul>
|
|
{{^is-anon}}
|
|
{{!-- The #pt-logout ID is required for the AJAX enabled logout in mediawiki.page.ready to work.}}
|
|
<div id="pt-logout" class="vector-user-menu-logout">
|
|
{{{html-logout-link}}}
|
|
</div>
|
|
{{/is-anon}}
|
|
{{>Dropdown/Close}}
|
|
{{/data-user-menu}}
|
|
</nav>
|