Page MenuHomePhabricator

Automoderator should not revert users with certain global user rights
Closed, ResolvedPublic

Description

The Revert Risk models are quite sensitive to user groups and edit count, so they generally won't give high scores to users with many edits/groups on a particular wiki. Unfortunately, global editors like Stewards and Global Sysops don't necessarily have local user groups or high edit counts, so they're liable to be reverted by Automoderator because they'll often look like new editors on projects they infrequently edit.

In addition to checking local rights, we should be checking for certain global rights and skipping reverts for users who have them.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This is probably a requirement for T372280 since we'll be going to smaller wikis where global contributors will be taking actions.

I would suggest checking for the rollback or autopatrol right, rather than any specific group. Global group IDs can be changed, and this would also be easier to maintain in the future. Either will currently catch global rollbackers, global sysops (on GS wikis), stewards, staff, and sysadmins. autopatrol is also a low-impact right on most wikis that can easily be assigned to other global groups if they end up encountering the bot frequently, and it also has the definition of "this editor's edits don't need to be checked for vandalism".

Samwalton9-WMF renamed this task from Automoderator should not revert users with certain global user groups to Automoderator should not revert users with certain global user rights.Sep 30 2024, 9:57 AM
Samwalton9-WMF updated the task description. (Show Details)

Good point! The local feature checks user rights, so it makes sense for this to do so too.

Samwalton9-WMF claimed this task.

It was pointed out to me that per T371275, this was already handled when we moved to exclusions based on user rights rather than groups. We're currently only automatically excluding bot and sysop, however. We could include rollback or autopatrol by default, or we could just leave this as a right that Stewards decide to use for the global config, since we're primarily concerned with smaller wikis where global users will be taking actions. I'm inclined to assume that the latter will be sufficient, so I'll close this ticket for now.