-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Yesterday I created this “abuse filter” to automatically tag changes to data item descriptions, so that users can filter translation changes out of their watchlists. It was working well until it got throttled due to a high incoming rate of matching edits. This feature is intended to head off mistakes where an administrator accidentally blocks everyone because of a malfunctioning filter. But in this case, we’re only using the filter to enhance watchlist filtering, not track abuse.
The default throttling heuristics are far too strict for this use case:
Disable a filter if it matched more than 2 edits, constituting more than 5 % of the actions which were checked against the filter's group in the "observed" period (at most one day), unless the filter has been changed in the last 86400 seconds (one day).
All it takes is for someone to edit a handful of translations on a slow day to throttle this filter. The filter gets throttled silently without notifying administrators, and we have to modify the filter (not just a null edit) to reactivate it.
For reference, several Wikimedia wikis are configured to have higher thresholds (search for wgAbuseFilterEmergencyDisableThreshold). I think we should similarly increase wgAbuseFilterEmergencyDisableThreshold to 30% and wgAbuseFilterEmergencyDisableCount to at least 25 edits per day.
/cc @Tigerfell @nyurik