Page MenuHomePhabricator

Opening multiple Special:Emailuser forms triggers rate limits
Closed, ResolvedPublic

Description

I tried to send emails to five users on ruwiki. To do this, I opened their user pages in different tabs and hit "Email user" on each. Unfortunately, when I tried to send the first email, I immediately ran into an error message:

Action throttled
As an anti-abuse measure, you are limited from performing this action too many times in a short space of time, and you have exceeded this limit. Please try again in a few minutes.

even though I hadn't sent a single email. (I was told in #wikimedia-tech that this is not how it's supposed to work, hence this report.)

Event Timeline

Change 382657 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[mediawiki/core@master] SpecialEmailUser: Don't increment pingLimiter() just for opening the page

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

Legoktm renamed this task from Opening multiple Special:Emailuser forms triggers anti-abuse error to Opening multiple Special:Emailuser forms triggers rate limts.Oct 6 2017, 7:39 AM
Legoktm renamed this task from Opening multiple Special:Emailuser forms triggers rate limts to Opening multiple Special:Emailuser forms triggers rate limits.
Legoktm claimed this task.

Change 382657 merged by jenkins-bot:
[mediawiki/core@master] SpecialEmailUser: Don't increment pingLimiter() just for opening the page

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

Anomie subscribed.

The fix should be deployed to WMF wikis with 1.31.0-wmf.5, see https://www.mediawiki.org/wiki/MediaWiki_1.31/Roadmap for the schedule.

Note that actual send attempts will still be limited. You'll be able to open many EmailUser pages at once, but clicking "send" too quickly will result in errors. Once you've hit the throttle, attempting to open (or reload) the EmailUser page will give a throttled error as well.