mediawiki-skins-Vector/includes
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
..
Components Hide language alert if there are none and JS is disabled 2023-06-16 17:30:34 +00:00
FeatureManagement Remove centraluserid dependency in ABRequirement.php 2023-05-23 15:03:59 +00:00
ResourceLoader Allow wikis to customize whether Vector skins share user scripts and styles 2023-03-06 23:24:57 +00:00
Services Normalise PHP namespaces used in Vector 2022-05-23 09:32:40 +02:00
templates Hide language alert if there are none and JS is disabled 2023-06-16 17:30:34 +00:00
Constants.php Remove language switching alert box temporary feature flag 2023-04-27 14:57:18 -06:00
Hooks.php Use Codex for button styles, start transitioning icons to use Codex icon mixins 2023-06-12 16:26:28 -07:00
ServiceWiring.php Remove centraluserid dependency in ABRequirement.php 2023-05-23 15:03:59 +00:00
SkinVector22.php Hide language alert if there are none and JS is disabled 2023-06-16 17:30:34 +00:00
SkinVectorLegacy.php Dead code elimination: updateDropdownMenuData 2023-01-12 00:33:28 +00:00
VectorServices.php Normalise PHP namespaces used in Vector 2022-05-23 09:32:40 +02:00