mediawiki-skins-Vector/includes/FeatureManagement
Sam Smith cee5ee0003 Make legacy mode a feature
Changes:

- Add the LatestSkinVersionRequirement requirement class, which lazily
  evaluates the application state to get the version of the skin for the
  request.

  This majority of this class is taken from Stephen Niedzielski's
  Vector\SkinVersionLookup class, which was introduced in d1072d0fdf.

- Register an instance of LatestSkinVersionRequirement and register the
  'LatestSkin' feature that requires that requirement

- Re-introduce SkinVector::isLegacy and make it defer to the Feature
  Manager

Bug: T244481
Change-Id: If6b82a514aa5afce73e571abdd8de60b16a62fa8
2020-04-21 10:57:11 -06:00
..
Requirements Make legacy mode a feature 2020-04-21 10:57:11 -06:00
FeatureManager.php featureManager: Add Requirement interface 2020-03-09 11:06:26 +00:00
Requirement.php featureManager: Add Requirement interface 2020-03-09 11:06:26 +00:00
SimpleRequirement.php featureManager: Add Requirement interface 2020-03-09 11:06:26 +00:00
TODO.md featureManager: Add DynamicConfigRequirement requirement 2020-03-18 10:10:42 +00:00