Page MenuHomePhabricator

UploadWizard doesn't handle errors caused by upload rate limiting
Closed, ResolvedPublic

Description

UploadWizard doesn't handle errors caused by upload rate limiting ($wgRateLimits).

Event Timeline

Restricted Application added subscribers: Steinsplitter, Aklapper. · View Herald Transcript
matmarex raised the priority of this task from Medium to High.Apr 26 2016, 8:36 PM

Change 285562 had a related patch set uploaded (by Bartosz Dziewoński):
Add 'api-error-ratelimited' message for UploadWizard

https://gerrit.wikimedia.org/r/285562

Change 285564 had a related patch set uploaded (by Bartosz Dziewoński):
Handle errors caused by upload rate limiting

https://gerrit.wikimedia.org/r/285564

A test with $wgRateLimits['upload']['user'] = [ 3, 60 ] (3 uploads per minute):

Change 285562 merged by jenkins-bot:
Add 'api-error-ratelimited' message for UploadWizard

https://gerrit.wikimedia.org/r/285562

Change 285564 merged by jenkins-bot:
Handle errors caused by upload rate limiting

https://gerrit.wikimedia.org/r/285564

This should be deployed to Wikimedia Commons this Wednesday.