mediawiki-skins-MinervaNeue/includes/Skins/menuGroup.mustache
Jon Robson d342cb32ef [Icons] Use Button template in PageActionsMenu.
Use the Button.mustache partial in the
PageActionsMenu.mustache template.

This converts the page actions menu to use the Button
template in a way that doesn't change the existing HTML.
The mw-ui-icon-element and mw-ui-icon-with-label-desktop
classes are placed onto the Button.mustache markup.

Bug: T342908
Change-Id: Ib5dadd929eea2e72a24e061c4174348615890617
2023-08-10 19:27:44 +00:00

10 lines
248 B
Plaintext

<li class="{{class}}">
{{#components}}
<a class="{{class}}"
{{#array-attributes}}{{key}}="{{value}}"{{/array-attributes}}>
{{#data-icon}} {{>IconLegacy}} {{/data-icon}}
<span>{{label}}</span>
</a>
{{/components}}
</li>