mediawiki-skins-Vector/includes/FeatureManagement/Requirements
Moh'd Khier Abualruz 173c91a0f5 Make Vector feature flags compatible with beta features
- Added Key 'beta' to features config in skin.json. As usual this also supported by global configs.
- Added feature management logic to check for beta feature enabled status and the user's selection of utilising the vector beta features.
- Added VECTOR_BETA_FEATURES to Constants.php which is an array that holds features names that would be enabled.
- Removed final from class declaration of OverridableConfigRequirement class, as it does interfere with the mocking in the current setup

Remaining Work:
- Missing images to be added in the hook to show in beta features under Special:Preferences -- this will be added in a followup

Bug: T347772
Change-Id: I7bf8284e328c66c019c392f57207cab21ce0d4f6
2023-10-19 18:22:57 +02: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 Make Vector feature flags compatible with beta features 2023-10-19 18:22:57 +02:00
OverrideableRequirementHelper.php Allow user preferences to be overriden by query string parameter 2023-10-12 19:05:10 +00:00
SimpleRequirement.php Normalise PHP namespaces used in Vector 2022-05-23 09:32:40 +02:00
UserPreferenceRequirement.php Allow user preferences to be overriden by query string parameter 2023-10-12 19:05:10 +00:00