mediawiki-skins-Vector/tests/phpunit
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
..
integration Use namespaced MediaWiki\Request\FauxRequest 2023-08-20 01:54:58 +02:00
structure Move bundlesize test to MediaWikiIntegration test 2021-12-10 08:48:59 +01:00
unit Make Vector feature flags compatible with beta features 2023-10-19 18:22:57 +02:00