Last modified: 2013-10-07 22:53:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56983, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54983 - Add thanking to $wgRateLimits as emailuser, to avoid "thank nuking"
Add thanking to $wgRateLimits as emailuser, to avoid "thank nuking"
Status: RESOLVED WORKSFORME
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
https://nl.wikipedia.org/w/index.php?...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-04 17:38 UTC by Nemo
Modified: 2013-10-07 22:53 UTC (History)
16 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2013-10-04 17:38:50 UTC
Suggested setting: same as email.

		'emailuser' => array(
			'ip' => array( 5, 86400 ), // 5 per day per ip (logged-out and new users)
			'newbie' => array( 5, 86400 ), // 5 per day for non-autoconfirmed
			'user' => array( 20, 86400 ), // 20 per day for users
		),

Minimal setting: respect edit ratelimits,

		'edit' => array(
			// 8 ed./min per each non-autoconfirmed, or group thereof from same IP
			'ip'     => array( 8, 60 ),
			'newbie' => array( 8, 60 ),
		),
Comment 1 Yuvi Panda 2013-10-04 17:39:34 UTC
Why not just add a userright, and take away their ability to thank if they troll?
Comment 2 Nemo 2013-10-04 17:41:45 UTC
(In reply to comment #1)
> Why not just add a userright, and take away their ability to thank if they
> troll?

Why reinvent the wheel? Just reuse the standard approach, that is rate limiting.
Comment 3 Romaine 2013-10-04 17:47:54 UTC
For someone who does hundreds of edits a day is 20 not much. But for someone who is a troll, 20 is already too much. The standard approach is insufficient when a users uses the thanks-button too often.

Setting a limit doesn't solve the situation that users mis-use the thanks button too often on wrong places. Setting a userright to take away their ability is something what does work.

We already have a case on nl-wiki where a user is trolling with the thanks button, setting a limit on 20 doesn't solve it at all, useless.
Comment 4 Nemo 2013-10-04 18:05:24 UTC
More on the rationale: as far as I know, thanks also trigger an email notification by default; hence, the rate limiting for them should equal the rate limiting for emails, for the same reasons.
Among other risks, let me mention that sending too many thanks email notifications (which by definition are unsolicited) will get many users e.g. in Gmail mark them as spam, which in turn will send legitimate notifications to the spam folders and trash the whole notification system (bug 52915). So, let's please be careful.

Romaine, rate limiting is not magic, it's a harm reduction system. Someone who does thousands of edits a day is 99 % of the cases either a bot or a sysop, so rate limits don't apply.
I'll file another bug shortly to address your concern.
Comment 5 Jesús Martínez Novo (Ciencia Al Poder) 2013-10-04 18:14:30 UTC
When someone abuse the editing system, there's the user blocking mechanism in place, after an optional warning message to the user.

This should work the same.

User rights are normally used to give more rights, not to revoke rights which weren't manually added in the first place. The rate limit should be in place to solve Nemo concerns about email notifications and log flooding. For users that doesn't reach that limit but still misuse it, the standard block should be sufficient.
Comment 6 Nemo 2013-10-07 09:41:14 UTC
No comments in three days: adjusting summary to reflect the current proposal. I'll add "shell" keyword after someone confirms the setting works.
Comment 7 p858snake 2013-10-07 09:43:18 UTC
(In reply to comment #6)
> No comments in three days: adjusting summary to reflect the current proposal.
> I'll add "shell" keyword after someone confirms the setting works.

Has discussion for this change taken place somewhere?
Comment 8 Nemo 2013-10-07 09:54:54 UTC
(In reply to comment #7)
> Has discussion for this change taken place somewhere?

What place would you suggest?
To me it seems a trivial adjustment, logical consequence of the existing configuration for equivalent actions.
Comment 9 Oliver Keyes 2013-10-07 20:49:14 UTC
I'm confused. Aren't thanks are already ratelimited? If thank nuking is a thing, it's not something I've seen (other than the one example above).
Comment 10 Krinkle 2013-10-07 22:31:59 UTC
My 2 cents:

* Rate limiting makes sense.
  Like any action that affects other users, we should not allow a user
  to massively abuse the system. Like edit rate limit, a rate limit here
  makes sense. This way a user will only be able to do limited damage.

* User right: Not sure, I think any user allowed to edit should be
  allowed to do thanks. If a user is abusing the system, block them.
  Revoking a specific user rights is counter-intuitive in our rights
  system, and besides, if the user is vandalising through thank yous,
  that user has no business contributing elsewhere if he can't behave.

  We don't revoke the movepage right or createpage right separately either.
Comment 11 Steven Walling 2013-10-07 22:38:09 UTC
(In reply to comment #9)
> I'm confused. Aren't thanks are already ratelimited? If thank nuking is a
> thing, it's not something I've seen (other than the one example above).

Yes. According to the docs, no one can thank more than 10 users/minute. 

Personally I think the arbitrary limit of 5 or 20 thanks a day is an unnecessary addition. Unlike email, for which there is a very very high potential for spam and trolling, thanks are a standardized action which has comparatively little potential for negative/abusive use. 

I think *if* it seems clear the tool is being used at too great a volume by new people, then we should strongly consider making the current rate limit more strict. But there's no reason to add additional limits or micmic the email feature's rate limit, considering how different the feature is. There is similarly no technically-enforced rate limit on how many edits you can revert as a new person, and communities deal with it just fine by imposing looser social limits.
Comment 12 Ryan Kaldari 2013-10-07 22:53:42 UTC
Thanks has always been rate limited. It's even mentioned in the Extension documentation on mediawiki.org.

$wgRateLimits += array(
	'thanks-notification' => array( 'user' => array( 10, 60 ) ),
);

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links