Community Wishlist Survey 2022/Anti-harassment/Add variables in AbuseFilter to detect/block thanks

From Meta, a Wikimedia project coordination wiki

Add variables in AbuseFilter to detect/block thanks

  • Problem: There is no way in AbuseFilter to detect uses of the "thanks" feature. This feature can be abused in order to harass editors. It is possible to mute a spectific account, but when the harasser uses a lot of accounts, the editor targeted by harasser has no other choice than disabling the whole thanks feature.
  • Proposed solution: Create thanks feature related variables, which could be "thanks sender username" and "thanks recipient username" for example.
  • Who would benefit: AbuseFilter editors, harassed editors
  • More comments:
  • Phabricator tickets: phab:T235873
  • Proposer: — Jules* Talk 10:14, 23 January 2022 (UTC)[reply]


  • Erratum: I wrote in the proposal that variables "could be thanks sender username and thanks recipient username". We already have a user_name variable in AbuseFilter (for the user who does the action), so we only need a thanked user variable. This would allow to prevent harassment using thanks feature. — Jules* Talk 09:34, 30 January 2022 (UTC)[reply]