I'd like to convert Commons abuse filter 140 to a $wgRateLimits configuration.
This will probably result in a tiny performance improvement, but more importantly, it will allow tools like UploadWizard to display a better error message to the user. Right now UploadWizard doesn't handle AbuseFilter very well (T132866), but even if it did, it wouldn't be able to display a localised error message or the custom one from MediaWiki:Abusefilter-warning-ut (the API doesn't provide this information, the only information you get is the filter description). The throttle also wouldn't be triggered for uploads to stash (T87381), which currently effectively halves the limit for UploadWizard users.
The only problem I see is that Commons administrators would no longer be able to configure the throttle on wiki (you'd have to have a site configuration change deployed).
Filter parameters
Description | Upload throttle |
Hits | 27,454 hits |
Conditions | !("autopatrol" in user_rights) & action == "upload" |
Number of actions to allow | 380 |
Period of time | 4320 seconds |
Group throttle by | users |
System message | abusefilter-warning-ut |
Actions | Prevent the user from performing the action in question |