Page MenuHomePhabricator

Confusing rollback error message when a rollback doesn't cause a content change
Closed, DuplicatePublic

Description

Assume one page Test has a history like:

  • 20160101000002 UserB content=2 (rollback)
  • 20160101000001 UserB content=1
  • 20160101000000 UserA content=2

When the rollback link is clicked, it tries to roll back to 20160101000000 where there's no content change, thus a failure is thrown. However this error is represented as:

Rollback failed
Cannot rollback last edit of Test by UserB (talk | contribs); someone else has edited or rolled back the page already.
The last edit to the page was by UserB (talk | contribs).

This message is confusing because there isn't anyone editing the page in meantime.

Event Timeline

liangent created this task.Jan 26 2016, 5:23 PM
liangent raised the priority of this task from to Needs Triage.
liangent updated the task description. (Show Details)
liangent added a subscriber: liangent.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptJan 26 2016, 5:23 PM
liangent updated the task description. (Show Details)Jan 26 2016, 5:24 PM
liangent set Security to None.

For the record, I was clicking rollback on https://zh.wikipedia.org/w/index.php?title=%E4%B8%89%E6%9A%97%E5%88%BB&action=history for the revision at 2016-01-26T16:41:30‎.