mediawiki-skins-Vector/includes/FeatureManagement/Requirements
Jon Robson 735dad995b Preferences set to "disabled" return false when isEnabled is called
The font size preference sets a preference to disabled rather than 0.

Rather than save this as 0, it would be useful to store this as a string
given in future it will evolve to have values small, medium, large

Change logic in UserPreferenceRequirement to support non-binary options.

Bug: T346987
Change-Id: I399aa1b1be4a45cab0aa3b8addb482e5af6c5bf3
2023-10-04 00:34:16 +00:00
..
ABRequirement.php Remove centraluserid dependency in ABRequirement.php 2023-05-23 15:03:59 +00:00
DynamicConfigRequirement.php Fix outdated ConfigRequirement class documentations 2023-03-03 10:43:36 +01:00
LimitedWidthContentRequirement.php Replace some moved Title class uses, now MediaWiki\Title\Title 2023-08-19 04:23:07 +00:00
LoggedInRequirement.php Set default pinnable state for page tools 2022-12-08 14:44:07 -07:00
OverridableConfigRequirement.php Query string override should support camel case as well as lowercase 2023-05-03 16:56:42 +00:00
SimpleRequirement.php
UserPreferenceRequirement.php Preferences set to "disabled" return false when isEnabled is called 2023-10-04 00:34:16 +00:00