mediawiki-skins-Vector/includes/Components
jaydenb d1c0e6cd6f Hide language alert if there are none and JS is disabled
The languages alert is misleading when there are no languages and the user has JS disabled.

This change adds a class to the alert if there are 0 languages, and then adds "display: none" to the alert if the client-nojs class is present. This is the same approach being used for the language switcher button.

Bug: T326185
Change-Id: Iee292d661ed1f47700f588053712f5f547022b17
2023-06-16 17:30:34 +00:00
..
VectorComponent.php [Components] Introduce VectorComponent and MainMenu components 2022-11-01 17:01:51 -07:00
VectorComponentButton.php Use Codex for button styles, start transitioning icons to use Codex icon mixins 2023-06-12 16:26:28 -07:00
VectorComponentDropdown.php Use Codex for button styles, start transitioning icons to use Codex icon mixins 2023-06-12 16:26:28 -07:00
VectorComponentLanguageDropdown.php Use Codex for button styles, start transitioning icons to use Codex icon mixins 2023-06-12 16:26:28 -07:00
VectorComponentLink.php Rename IconLink to Link 2023-02-22 22:00:24 +00:00
VectorComponentMainMenu.php Hide language alert if there are none and JS is disabled 2023-06-16 17:30:34 +00:00
VectorComponentMainMenuAction.php Hide language alert if there are none and JS is disabled 2023-06-16 17:30:34 +00:00
VectorComponentMainMenuActionLanguageSwitchAlert.php Hide language alert if there are none and JS is disabled 2023-06-16 17:30:34 +00:00
VectorComponentMainMenuActionOptOut.php VectorComponentMainMenuAction: Have class to distinguish between different actions 2022-11-28 20:15:16 +00:00
VectorComponentMenu.php Drop unused template and associated code 2023-03-09 10:53:33 -08:00
VectorComponentMenuListItem.php Rename IconLink to Link 2023-02-22 22:00:24 +00:00
VectorComponentMenuVariants.php Component: VariantsMenu 2023-01-11 23:05:41 +00:00
VectorComponentPageTools.php Enable the pinning for anonymous users when page tools is enabled. 2023-03-13 23:49:59 +00:00
VectorComponentPinnableContainer.php Rename VectorComponentPinnedContainer to VectorComponentPinnableContainer to match template files 2022-12-15 22:46:46 +00:00
VectorComponentPinnableElement.php Refactor: PageTools composes several different components 2022-12-12 22:17:24 +00:00
VectorComponentPinnableHeader.php Removes old style rule 2023-03-10 14:31:44 -06:00
VectorComponentSearchBox.php Use Codex for typeahead search styles 2023-06-12 16:26:33 -07:00
VectorComponentStickyHeader.php Consolidate watchstar icon updating logic under watchstar.js 2023-05-16 13:18:47 -05:00
VectorComponentTableOfContents.php Remove VectorTableOfContentsBeginning flag 2023-05-08 22:25:03 +00:00
VectorComponentUserLinks.php Use Codex for button styles, start transitioning icons to use Codex icon mixins 2023-06-12 16:26:28 -07:00