mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 19:21:39 +00:00
82724b3c44
While dropping support of smart logout in favour of core ready.js logout, we noticed that the logout selector is a little bit too weak. Editors could make a link on a page that would work as a logout button. The easiest way to prevent this (and any other possible problems) is to add `data-mw="interface"` attribute to all generated menu entries. Change-Id: I22611b9641d82328623beb3f693bf7cddb2289ff
7 lines
194 B
Plaintext
7 lines
194 B
Plaintext
<li class="{{class}}">
|
|
{{#components}}
|
|
<a href="{{href}}" class="{{class}}"
|
|
data-mw="interface" data-event-name="{{data-event-name}}"><span>{{text}}</span></a>
|
|
{{/components}}
|
|
</li>
|