mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 10:15:24 +00:00
9afc968523
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 |
||
---|---|---|
.. | ||
RCVariableGenerator.php | ||
RunVariableGenerator.php | ||
VariableGenerator.php | ||
VariableGeneratorFactory.php |