mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts/menu/menu.mustache
jdlrobson b356c7f134 Merge skins.minerva.scripts.top and skins.minerva.mainMenu into scripts
These modules can safely be merged.

Since skins.minerva.scripts.top is added via addModules to the HTML it must
be marked as deprecated and remain temporarily as a redirection to skins.minerva.scripts

All modules have been renamed to be in there new home - no deprecation notices are needed
as they are not used outside Minerva.

I leave skins.minerva.mainMenu.styles as it is used by Special:MobileMenu
and needs to continue to do so.

Change-Id: Ie919151630f4389f8e84e808bec003a6d3d07bd9
2019-02-07 18:10:15 -08:00

16 lines
293 B
Plaintext

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