mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
99f3c97c3c
Currently the Special:Logout page will ask "do you want to logout" even if we pass the logout token. To avoid that first let's log out user via API Ajax call. Bug: T232734 Change-Id: Ia4cc4253b99254d7a893a55d9e05918c5d8c87e5
17 lines
523 B
Plaintext
17 lines
523 B
Plaintext
{{!
|
|
array components
|
|
string|null components.class Optional anchor CSS class.
|
|
string|null components.href Optional URI.
|
|
string|null components.text Optional text.
|
|
string|null components.data-event-name Optional tracking code.
|
|
}}
|
|
{{#components}}
|
|
<li class="toggle-list-item">
|
|
<a class="toggle-list-item__anchor {{class}}" href="{{href}}" data-event-name="{{data-event-name}}">
|
|
<span class="toggle-list-item__icon">
|
|
<span class="toggle-list-item__label">{{text}}</span>
|
|
</span>
|
|
</a>
|
|
</li>
|
|
{{/components}}
|