mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-11 05:46:09 +00:00
f5bef2ea5c
Converts the main menu button to work without JS using the CSS-only "checkbox" hack, using the ToggleList module from the dropdown menus. Bug: T225213 Change-Id: I0eff0439f7284ec74f6304324fab409e8a1b6245
18 lines
376 B
Plaintext
18 lines
376 B
Plaintext
<div id="mw-mf-page-left" class="menu toggle-list__list view-border-box">
|
|
{{#groups}}
|
|
<ul id="{{id}}">
|
|
{{! "." 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>
|