mediawiki-skins-Vector/includes
Nicholas Ray 7e0dd79d5a Convert LimitedWidthRequirement to UserPreferenceRequirement
Generalize LimitedWidthRequirement into a more reusable
UserPreferenceRequirement that can be used by both the limited width feature and
the persistent pinning feature (and possibly others in the future).

* Removes existing logic that checks whether the option is not null. Given that
skin.json sets the default [1], presumably this isn't needed.

* Adds unit test

[1] 65af26a258/skin.json (L163)

Bug: T322051
Change-Id: I7f228cf81a65b2eb22dbe94d2384b6c9f6da91f2
2022-12-01 16:31:47 -07:00
..
Components Generalize Pinnable functionality to not be limited to dropdowns, make Pinnable templates composable 2022-11-30 17:17:20 -06:00
FeatureManagement Convert LimitedWidthRequirement to UserPreferenceRequirement 2022-12-01 16:31:47 -07:00
ResourceLoader Use new ResourceLoader namespace 2022-05-25 10:36:40 +00:00
Services Normalise PHP namespaces used in Vector 2022-05-23 09:32:40 +02:00
templates Generalize Pinnable functionality to not be limited to dropdowns, make Pinnable templates composable 2022-11-30 17:17:20 -06:00
Constants.php Drop the VisualEnhancementsNext feature flag 2022-11-21 13:27:34 -08:00
Hooks.php Drop the VisualEnhancementsNext feature flag 2022-11-21 13:27:34 -08:00
ServiceWiring.php Convert LimitedWidthRequirement to UserPreferenceRequirement 2022-12-01 16:31:47 -07:00
SkinVector.php Generalize Pinnable functionality to not be limited to dropdowns, make Pinnable templates composable 2022-11-30 17:17:20 -06:00
SkinVector22.php Generalize Pinnable functionality to not be limited to dropdowns, make Pinnable templates composable 2022-11-30 17:17:20 -06:00
SkinVectorLegacy.php [Template] Move search template code into component 2022-11-07 13:32:59 -08:00
VectorServices.php Normalise PHP namespaces used in Vector 2022-05-23 09:32:40 +02:00