mediawiki-extensions-AbuseF.../includes/VariableGenerator
Daimona Eaytoy 9afc968523 Refactor VariableGenerator and LazyVariableComputer tests
Additionally, avoid building Title objects in LazyVariableComputer, it
just adds a dependency on TitleFactory and creating mocks is more
complicated, but it's pointless because the caller already has a Title
object.

And also stop using Title::getEarliestRevTime(), since the replacement
is easy (we already have a RevisionLookup).

Note for reviewers about renames:
- Code VariableGeneratorDBTest was moved to LazyVariableComputerDBTest,
  RCVariableGeneratorTest, and AbuseFilterVariableGeneratorTest
- AbuseFilterVariableGenerator test was moved into a dedicated
  directory, methods were changed not to test the var values

Change-Id: I3dff8739a9b79f33321d836449b082c3ce63f277
2021-01-09 11:26:24 +00:00
..
RCVariableGenerator.php Refactor VariableGenerator and LazyVariableComputer tests 2021-01-09 11:26:24 +00:00
RunVariableGenerator.php Refactor VariableGenerator and LazyVariableComputer tests 2021-01-09 11:26:24 +00:00
VariableGenerator.php Refactor VariableGenerator and LazyVariableComputer tests 2021-01-09 11:26:24 +00:00
VariableGeneratorFactory.php Introduce a VariableGeneratorFactory service 2021-01-03 14:17:39 +01:00