mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-29 08:14:42 +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 |
||
---|---|---|
.. | ||
ChangeTags | ||
Consequences | ||
Filter | ||
Hooks | ||
Parser | ||
Special | ||
VariableGenerator | ||
Variables | ||
Watcher | ||
AbuseLoggerFactoryTest.php | ||
CentralDBManagerTest.php | ||
EditBoxBuilderFactoryTest.php | ||
FilterCompareTest.php | ||
FilterImporterTest.php | ||
FilterLookupTest.php | ||
FilterRunnerTest.php | ||
FilterStoreTest.php | ||
FilterValidatorTest.php | ||
GlobalNameUtilsTest.php | ||
KeywordsManagerTest.php | ||
SpecsFormatterTest.php |