mediawiki-extensions-AbuseF.../maintenance
Dreamy Jazz aee25cfdaf Allow consequence to be used without pattern in SearchFilters.php
Why:
* The SearchFilters.php maintenance script fails to produce any
  filters when the --pattern option is not provided
* This is because the condition that checked for a missing pattern
  did this after it was passed through ::addQuotes, which made
  the value always truthy.

What:
* Fix this bug, so that the --consequence option can be provided
  without the --pattern option.

Bug: T373148
Change-Id: I316d3f940a8e7616a56040077a20563ee653515b
2024-08-27 11:19:56 +01:00
..
AddMissingLoggingEntries.php Remove AbuseFilterActorMigration 2024-06-15 09:42:27 +02:00
MigrateActorsAF.php Use IDatabase::buildComparison in MigrateActorsAF 2024-07-16 23:35:21 +02:00
PurgeOldLogIPData.php maintenance: Migrate to IReadableDatabase::newSelectQueryBuilder 2024-04-29 22:15:35 +02:00
SearchFilters.php Allow consequence to be used without pattern in SearchFilters.php 2024-08-27 11:19:56 +01:00
UpdateVarDumps.php Replace gettype() with get_debug_type() in exception messages etc. 2024-08-12 23:05:16 +02:00