It is possible to undo multiple users using the 'undoafter' param. This is used by tools like Twinkle to undo multiple revisions.
Currently, no user is notified when undoing multiple revisions since EditPage provides undidRev only when undoing a single edit.
EditPage would have to provide it along with a new undidAfterRev.
Description
Details
Related Objects
- Mentioned In
- T346507: Update FlaggedRevs to use the new HookContainer/HookRunner system
T248775: Proposal: Add Reverted filter to RecentChanges Filters
T254074: Implement the reverted edit tag
T252366: Choose the definition of a "reverted" edit
T164307: Add Reverted filter to RecentChanges Filters
T202951: Revert notification should not go to the sysop who protected the page in between edits
T146326: Determine if multi-reverted edits still send notifications to all non-IP users who were reverted
T154637: Notify users when manually reverting to an older revision
T153567: Reverts with the API don't notify users anymore - Mentioned Here
- T154637: Notify users when manually reverting to an older revision
T154808: No longer getting Revert notifications
Event Timeline
Change 329651 had a related patch set uploaded (by Cen.temp):
Add wpBaseRevision to edit request from 'undoafter' param
Change 330587 had a related patch set uploaded (by Cen.temp):
Notify users of multiple-revisions undos
This change is probably going to break Echo in Wikibase again (T154808). So when this patch and the (not yet done) one in Wikibase are ready, could their deployment happen at the same time?
The patch for Wikibase consists in passing udoafter as base rev id, this can be merged before https://gerrit.wikimedia.org/r/330587.
Change 331990 had a related patch set uploaded (by Cenarium):
SubmitEntityAction: Pass 'undoafter' as base rev id
Change 608884 had a related patch set uploaded (by ProcrastinatingReader; owner: ProcrastinatingReader):
[mediawiki/extensions/Echo@master] Notify users of multi-revision undos and reverts
https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Echo/ /608884
Change 331990 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] SubmitEntityAction: Pass 'undoafter' and 'restore' to doEditContent
Will include once T154637 has passed code review and we know which week it's going out.
(Unless that's already decided?)
Change 673277 had a related patch set uploaded (by Tobias Andersson; owner: Cenarium):
[mediawiki/extensions/Wikibase@REL1_35] SubmitEntityAction: Pass 'undoafter' and 'restore' to doEditContent
Change 673277 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@REL1_35] SubmitEntityAction: Pass 'undoafter' and 'restore' to doEditContent
@Proc: Per emails from Sep18 and Oct20 and https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup , I am resetting the assignee of this task because there has not been progress lately (please correct me if I am wrong!). Resetting the assignee avoids the impression that somebody is already working on this task. It also allows others to potentially work towards fixing this task. Please claim this task again when you plan to work on it (via Add Action... → Assign / Claim in the dropdown menu) - it would be welcome. Thanks for your understanding!