mediawiki-skins-MinervaNeue/includes/Skins/PageActionsMenu/PageActionsMenu.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

17 lines
395 B
Plaintext

<nav class="page-actions-menu">
<ul id="page-actions" class="page-actions-menu__list">
{{#toolbar}}
<li id="{{name}}" class="page-actions-menu__list-item">
{{#components}}
{{>Button}}
{{/components}}
</li>
{{/toolbar}}
{{#overflowMenu}}
<li id="{{item-id}}" class="page-actions-menu__list-item">
{{> ToggleList/ToggleList}}
</li>
{{/overflowMenu}}
</ul>
</nav>