mediawiki-skins-MinervaNeue/includes/Skins/menu.mustache
bwang 0e391a87e0 Update addPortletLink for Codex
For testing make sure to check the 3 variants:
```
mw.util.addPortletLink('page-actions', '#', 'text' );
mw.util.addPortletLink('p-interaction', '#', 'text' );
mw.util.addPortletLink('p-personal', '#', 'text' );
```

Bug: T344006
Change-Id: Iad3a8d5ed1237c1438d170f07c9c3fe3784182fe
2023-08-29 19:27:56 +00:00

18 lines
384 B
Plaintext

<div id="mw-mf-page-left" class="menu view-border-box">
{{#groups}}
<ul id="{{id}}" class="toggle-list__list">
{{! "." means "current context", which allows us to iterate over Plain Old PHP Arrays™. }}
{{#entries}}
{{#.}}
{{> menuGroup}}
{{/.}}
{{/entries}}
</ul>
{{/groups}}
<ul class="hlist">
{{#sitelinks}}
{{> menuGroup}}
{{/sitelinks}}
</ul>
</div>