mediawiki-extensions-AbuseF.../includes/VariableGenerator
Matěj Suchánek d82a716ad0 Make old_links retrieval cleaner
The method for old_links retrieval depends on the "forFilter"
value, which we know in advance. If it's true, old_links should
be retrieved from the database. Make a case in the switch
that does nothing but retrieves links from the database,
and direct the evaluation to it.

This change was split from I3628a56e5 to make its review easier.

NOTE: this changes code potentially executed on every save operation.

Change-Id: I33b688f6be3c58beec403f7bf26407a42e7c18ab
2023-06-13 14:03:21 +02:00
..
RCVariableGenerator.php Merge "Replace VariableHolder::$forFilter" 2023-01-05 21:23:24 +00:00
RunVariableGenerator.php Replace deprecated MWException 2023-06-07 17:41:20 +02:00
VariableGenerator.php Make old_links retrieval cleaner 2023-06-13 14:03:21 +02:00
VariableGeneratorFactory.php Replace WikiPage::factory in non-test code 2021-09-01 04:55:25 +00:00