mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-02 03:07:13 +00:00
97de09dcba
- getTocData is moved into VectorComponentTableOfContents and it's test file The following changes were made to the main menu, toc and page tools PHP components - Avoid passing in $skin to the constructor - Handle isPinned logic inside the component - Add a public ID constant to the components - Dropdown data for each feature use the same naming convention Bug: T317900 Change-Id: I77a617a6c1d93bccd3b6e59353299f5534624e53
13 lines
295 B
Plaintext
13 lines
295 B
Plaintext
{{!
|
|
See @typedef MenuDefinition
|
|
}}
|
|
|
|
<div id="{{id}}" class="vector-menu{{#class}} {{.}}{{/class}}" {{{html-tooltip}}} {{{html-user-language-attributes}}}>
|
|
{{#label}}
|
|
<div class="vector-menu-heading{{#label-class}} {{.}}{{/label-class}}">
|
|
{{.}}
|
|
</div>
|
|
{{/label}}
|
|
{{>MenuContents}}
|
|
</div>
|