VectorGOLEM/includes
Sam Smith d14caf2f11 featureManager: Add Requirement interface
FeatureManager::registerRequirement established the interface for a
requirement: its name and whether it's met.

However, the Feature Manager also needs to handle scenarios where a
requirement needs additional context before it can be considered met.
That context may not be available when the application is booting, e.g.
checking if the user is logged in; or the logic is complicated enough
that it should be under test.

Changes:

- Add the Requirement interface and update FeatureManager to work with
  implementations of it

- Maintain B/C by constructing an instance of a the SimpleRequirement
  DTO

Bug: T244481
Change-Id: Id95d9e5d7125492968d0e15515224aadbc3075f8
2020-03-09 11:06:26 +00:00
..
FeatureManagement featureManager: Add Requirement interface 2020-03-09 11:06:26 +00:00
templates Use template partials rather than HTML strings 2020-03-03 09:28:52 -08:00
Constants.php [Special:Preferences] [PHP] Add skin version user preference and configs 2020-02-26 12:56:10 -07:00
Hooks.php Make sure Vector skin preferences always follows skin 2020-02-29 00:35:50 +00:00
ServiceWiring.php [Special:Preferences] [PHP] Add skin version user preference and configs 2020-02-26 12:56:10 -07:00
SkinVector.php Drop usage of mediawiki.skinning.interface module in favor of SkinModule 2020-02-05 10:02:47 +08:00
VectorTemplate.php Use template partials rather than HTML strings 2020-03-03 09:28:52 -08:00