Page MenuHomePhabricator

Auto-accept pending revision when user self-reverts to reviewed version
Open, NormalPublic

Description

With this edit, the user reverted their edit to the previous, reviewed version, but it was not automatically accepted. This might be because the user didn't use the "undo" feature (I'm assuming tools like Twinkle use it under the hood and just change the edit summary), but it would be nice to be able to detect this.

Details

Related Gerrit Patches:
mediawiki/extensions/FlaggedRevs : masterClarify and add more autoreview cases, avoid db hits

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 23 2016, 9:59 AM
Cenarium claimed this task.Dec 29 2016, 2:27 AM

Same as T59073 but for self-reverts.

Change 329545 had a related patch set uploaded (by Cen.temp):
Refactor maybeMakeEditReviewed to handle all self-reverts, avoid db hits

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

Cenarium triaged this task as Normal priority.Feb 9 2017, 4:49 AM

Low if this were only that, but I've addressed some related issues in the patch set, the code needed some refactoring.

Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptFeb 9 2017, 4:49 AM