-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge "Use tabs consistently in .mustache files"
- Loading branch information
Showing
8 changed files
with
60 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{{!- | ||
Page Precontent - Placed below the page toolbar on all pages. | ||
Contains the indicators (if the language button is beside the title) | ||
qnd tagline, which is only rendered on article page. | ||
Page Precontent - Placed below the page toolbar on all pages. | ||
Contains the indicators (if the language button is beside the title) | ||
qnd tagline, which is only rendered on article page. | ||
}} | ||
<div class="vector-body-before-content"> | ||
{{#is-language-in-content-top}} | ||
{{>Indicators}} | ||
{{/is-language-in-content-top}} | ||
{{#is-language-in-content-top}} | ||
{{>Indicators}} | ||
{{/is-language-in-content-top}} | ||
|
||
{{#is-article}}<div id="siteSub" class="noprint">{{msg-tagline}}</div>{{/is-article}} | ||
{{#is-article}}<div id="siteSub" class="noprint">{{msg-tagline}}</div>{{/is-article}} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<a data-mw="interface" | ||
href="{{href}}" | ||
{{{html-attributes}}}>{{! | ||
}}{{#icon}}<span class="mw-ui-icon mw-ui-icon-{{.}} mw-ui-icon-wikimedia-{{.}}"></span>{{/icon}}<span>{{text}}</span>{{! | ||
href="{{href}}" | ||
{{{html-attributes}}}>{{! | ||
}}{{#icon}}<span class="mw-ui-icon mw-ui-icon-{{.}} mw-ui-icon-wikimedia-{{.}}"></span>{{/icon}}<span>{{text}}</span>{{! | ||
}}</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{{! Use `.mw-portlet-lang` to target styles at this element}} | ||
{{>Dropdown/Open}} | ||
{{#is-language-selector-empty}} | ||
<div class="mw-portlet-empty-language-selector-body"> | ||
{{msg-empty-language-selector-body}} | ||
</div> | ||
{{/is-language-selector-empty}} | ||
{{^is-language-selector-empty}} | ||
{{>MenuContents}} | ||
{{/is-language-selector-empty}} | ||
{{#is-language-selector-empty}} | ||
<div class="mw-portlet-empty-language-selector-body"> | ||
{{msg-empty-language-selector-body}} | ||
</div> | ||
{{/is-language-selector-empty}} | ||
{{^is-language-selector-empty}} | ||
{{>MenuContents}} | ||
{{/is-language-selector-empty}} | ||
{{>Dropdown/Close}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
{{! Use `.vector-main-menu` to target styles at this element}} | ||
{{>PinnableElement/Open}} | ||
{{^is-page-tools-enabled}} | ||
{{#data-portlets-first}}{{>MainMenuGroup}}{{/data-portlets-first}} | ||
{{#data-main-menu-action}}{{>MainMenuAction}}{{/data-main-menu-action}} | ||
{{#array-portlets-rest}}{{>MainMenuGroup}}{{/array-portlets-rest}} | ||
{{^is-language-in-content}} | ||
{{#data-languages}}{{>MainMenuGroup}}{{/data-languages}} | ||
{{/is-language-in-content}} | ||
{{! T295555 Add language switch alert message. }} | ||
{{#data-vector-language-switch-alert}}{{>MainMenuAction}}{{/data-vector-language-switch-alert}} | ||
{{#data-portlets-first}}{{>MainMenuGroup}}{{/data-portlets-first}} | ||
{{#data-main-menu-action}}{{>MainMenuAction}}{{/data-main-menu-action}} | ||
{{#array-portlets-rest}}{{>MainMenuGroup}}{{/array-portlets-rest}} | ||
{{^is-language-in-content}} | ||
{{#data-languages}}{{>MainMenuGroup}}{{/data-languages}} | ||
{{/is-language-in-content}} | ||
{{! T295555 Add language switch alert message. }} | ||
{{#data-vector-language-switch-alert}}{{>MainMenuAction}}{{/data-vector-language-switch-alert}} | ||
{{/is-page-tools-enabled}} | ||
|
||
{{#is-page-tools-enabled}} | ||
{{#data-portlets-first}}{{>Menu}}{{/data-portlets-first}} | ||
{{#data-main-menu-action}}{{>MainMenuAction}}{{/data-main-menu-action}} | ||
{{#array-portlets-rest}}{{>Menu}}{{/array-portlets-rest}} | ||
{{^is-language-in-content}} | ||
{{#data-languages}}{{>Menu}}{{/data-languages}} | ||
{{/is-language-in-content}} | ||
{{! T295555 Add language switch alert message. }} | ||
{{#data-vector-language-switch-alert}}{{>MainMenuAction}}{{/data-vector-language-switch-alert}} | ||
{{#data-portlets-first}}{{>Menu}}{{/data-portlets-first}} | ||
{{#data-main-menu-action}}{{>MainMenuAction}}{{/data-main-menu-action}} | ||
{{#array-portlets-rest}}{{>Menu}}{{/array-portlets-rest}} | ||
{{^is-language-in-content}} | ||
{{#data-languages}}{{>Menu}}{{/data-languages}} | ||
{{/is-language-in-content}} | ||
{{! T295555 Add language switch alert message. }} | ||
{{#data-vector-language-switch-alert}}{{>MainMenuAction}}{{/data-vector-language-switch-alert}} | ||
{{/is-page-tools-enabled}} | ||
{{>PinnableElement/Close}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<div class="vector-menu-content"> | ||
{{{html-before-portal}}} | ||
<ul class="vector-menu-content-list">{{! | ||
}}{{#data-items}}{{>MenuListItem}}{{/data-items}}{{! | ||
}}{{{html-items}}}</ul> | ||
{{{html-after-portal}}} | ||
{{{html-before-portal}}} | ||
<ul class="vector-menu-content-list">{{! | ||
}}{{#data-items}}{{>MenuListItem}}{{/data-items}}{{! | ||
}}{{{html-items}}}</ul> | ||
{{{html-after-portal}}} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters