mediawiki-skins-Citizen/templates/PageTools.mustache
2022-11-21 17:43:03 -05:00

40 lines
1.4 KiB
Plaintext

{{!
object data-page-views
object data-page-associated-pages
object data-page-actions
bool has-languages
object data-page-toolbox
}}
<div class="page-actions">
{{#has-languages}}{{>PageTools__languages}}{{/has-languages}}
{{#pagetools-visible}}
{{#data-portlets.data-views}}{{>Menu}}{{/data-portlets.data-views}}
{{#data-portlets.data-associated-pages}}{{>Menu}}{{/data-portlets.data-associated-pages}}
{{/pagetools-visible}}
{{#pagetools-overflow}}
<div class="page-actions-more page-actions__item mw-checkbox-hack-container">
<input
type="checkbox"
id="page-actions-more__checkbox"
class="mw-checkbox-hack-checkbox"
role="button"
aria-labelledby="page-actions-more__buttonCheckbox"
aria-haspopup="true">
<aside id="page-actions-more__card" class="page-actions__card mw-checkbox-hack-target">
{{#pagetools-visible}}
{{#data-portlets.data-actions}}{{>Menu}}{{/data-portlets.data-actions}}
{{/pagetools-visible}}
{{#data-article-tools}}{{>Menu}}{{/data-article-tools}}
</aside>
<label
id="page-actions-more__buttonCheckbox"
class="mw-checkbox-hack-button page-actions__button page-actions__button--icon"
for="page-actions-more__checkbox"
title="{{msg-citizen-actions-more-toggle}}"
aria-hidden="true">
<span class="citizen-ui-icon mw-ui-icon-wikimedia-ellipsis"></span>
<span>{{msg-citizen-actions-more-toggle}}</span>
</label>
</div>
{{/pagetools-overflow}}
</div>