mediawiki-skins-MinervaNeue/includes/Skins/PageActionsMenu/PageActionsMenu.mustache
Jon Robson 05231bb254 Support extension of page actions via hook and addPortletLink
This adds support for:
mw.util.addPortletLink('p-views', '#', 'text', 'fooz',null,
  null,'#page-actions-overflow' )

and adding multiple edit icons via hooks.

Depends-On: I655097769620301143140ded1cde4c7a16879ef4
Depends-On: I401805224c0f387ac85b52b50c1f298b83c03a91
Bug: T346944
Change-Id: I3c9d59f49f1b939981a7b2b450448db6736d5958
2023-10-04 22:15:47 +00:00

17 lines
390 B
Plaintext

<nav class="page-actions-menu">
<ul id="p-views" 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>