mediawiki-skins-Vector/tests/phpunit/unit/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
..
DynamicConfigRequirementTest.php Normalise PHP namespaces used in Vector 2022-05-23 09:32:40 +02:00
OverridableConfigRequirementTest.php Make Vector feature flags compatible with beta features 2023-10-19 18:22:57 +02:00
UserPreferenceRequirementTest.php Allow user preferences to be overriden by query string parameter 2023-10-12 19:05:10 +00:00