mediawiki-skins-Vector/includes/templates/PageToolbar.mustache
Jan Drewniak 40bbb8c3a9 remove Page Tools config & HTML
Removes the config option for Page Tool menu,
its associated logic, along with the associated HTML from
the mustache templates.

Hardcodes the `vector-feature-page-tools-enabled` class
into the HTML element to prevent breakage.

Bug: T332090
Change-Id: I6466d80c6970bcc8e28d897b6bdff911a90e3655
2023-03-30 11:32:36 -04:00

29 lines
1 KiB
Plaintext

<div class="vector-page-toolbar">
<div class="vector-page-toolbar-container">
{{#data-portlets}}
<div id="left-navigation">
<nav aria-label="{{msg-namespaces}}">
{{#data-associated-pages}}{{>Tabs}}{{/data-associated-pages}}
{{#data-vector-variants}}{{>VariantsDropdown}}{{/data-vector-variants}}
</nav>
</div>
<div id="right-navigation" class="vector-collapsible">
<nav aria-label="{{msg-views}}">
{{#data-views}}{{>Tabs}}{{/data-views}}
</nav>
<nav class="vector-page-tools-landmark" aria-label="{{msg-tooltip-p-cactions}}">
{{#data-page-tools-dropdown}}{{>Dropdown/Open}}{{/data-page-tools-dropdown}}
{{#data-page-tools}}
{{>PinnableContainer/Unpinned/Open}}
{{! Use `#vector-page-tools-unpinned-container .vector-page-tools` to target styles at this element}}
{{^is-pinned}}{{>PageTools}}{{/is-pinned}}
{{>PinnableContainer/Close}}
{{/data-page-tools}}
{{#data-page-tools-dropdown}}{{>Dropdown/Close}}{{/data-page-tools-dropdown}}
</nav>
</div>
{{/data-portlets}}
</div>
</div>