mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 11:13:34 +00:00
0e391a87e0
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
18 lines
384 B
Plaintext
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>
|