mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
aee25cfdaf
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 |
||
---|---|---|
.. | ||
AddMissingLoggingEntries.php | ||
MigrateActorsAF.php | ||
PurgeOldLogIPData.php | ||
SearchFilters.php | ||
UpdateVarDumps.php |