mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-12 16:05:17 +00:00
40bbb8c3a9
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
23 lines
877 B
Plaintext
23 lines
877 B
Plaintext
{{!
|
|
@typedef object main-menu-action
|
|
@prop string href
|
|
@prop string text
|
|
|
|
string html-logo-attributes for site logo. Must be used inside tag e.g. `class="logo" lang="en-gb"`
|
|
MenuDefinition data-portlets-first
|
|
MenuDefinition[] array-portlets-rest
|
|
main-menu-action data-main-menu-action For displaying an emphasized action in the main menu.
|
|
}}
|
|
<div class="vector-main-menu-container {{^data-toc}}vector-sidebar-container-no-toc{{/data-toc}}">
|
|
<div id="mw-navigation">
|
|
<nav id="mw-panel" class="vector-main-menu-landmark" aria-label="{{msg-vector-site-nav-label}}" role="navigation">
|
|
{{#data-main-menu}}
|
|
{{>PinnableContainer/Pinned/Open}}
|
|
{{! Use `#vector-main-menu-pinned-container .vector-main-menu` to target styles at this element}}
|
|
{{#is-pinned}}{{>MainMenu}}{{/is-pinned}}
|
|
{{>PinnableContainer/Close}}
|
|
{{/data-main-menu}}
|
|
</nav>
|
|
</div>
|
|
</div>
|