mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-03 03:37:24 +00:00
6c817e932f
- Register new feature for main menu pinned - Update UserPreferenceRequirement to optionally handle default config values - Add nav landmarks for the main menu Bug: T317900 Change-Id: I8fc6e0a79a1155d68afb9e33e5101a2a160dc4e5
18 lines
623 B
Plaintext
18 lines
623 B
Plaintext
<header class="mw-header mw-ui-icon-flush-left mw-ui-icon-flush-right">
|
|
<div class="vector-header-start">
|
|
{{^is-page-tools-enabled}}
|
|
{{>deprecated/MainMenuBtn}}
|
|
{{/is-page-tools-enabled}}
|
|
{{#is-page-tools-enabled}}
|
|
<nav class="vector-main-menu-landmark" aria-label="{{msg-vector-site-nav-label}}" role="navigation">
|
|
{{>MainMenuDropdown}}
|
|
</nav>
|
|
{{/is-page-tools-enabled}}
|
|
{{#data-logos}}{{>Logo}}{{/data-logos}}
|
|
</div>
|
|
<div class="vector-header-end">
|
|
{{#data-search-box}}{{>SearchBox}}{{/data-search-box}}
|
|
{{#data-vector-user-links}}{{>UserLinks}}{{/data-vector-user-links}}
|
|
</div>
|
|
</header>
|