Page MenuHomePhabricator

Show a message after rollback has completed
Closed, ResolvedPublic

Description

When viewing a user's edit history, a "rollback" link is offered to admins next
to each "(top)" edit. Accidentally clicking on such a link automatically undoes
not only the last edit by that user, but a series of them, if the user has made
many edits to a single page.

There is no confirmation or even verification that this has occurred; the admin
is simply taken to the (now rolled-back) page. So if you don't know what the
page looked like before, and you click "rollback" by accident, it looks as
though you clicked on the page title by accident (which is right next to it).

An extreme side-effect of this can occur on pages that are maintained by a
single person only, or that are private projects of a single person; for
instance, one's User Page, or a Wikinews article, or a WikiProject that one is
getting up to speed with little help from others.

Two suggested fixes:

  1. Add a red-text "this article has been rolled back to the revision on <date>

by [[User]]

  1. Add a confirmation page : "This page will be reverted to the revision on

<date> by [[User]]. Is this what you want to do?"

The confirmation page should *definitely* be in place on sites like Wikipedia
when reverting edits of another active user; perhaps it could be done when
reverting the work of any non-IP Or any non-newbie.


Version: unspecified
Severity: enhancement

Details

Reference
bz1893

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:18 PM
bzimport set Reference to bz1893.
bzimport added a subscriber: Unknown Object (MLST).

jeluf wrote:

The rollback button is for reverting vandalism and similar. It's a shortcut to
speed this task up. Thus I'd prefer solution #1. The rollback can be easily
reverted as soon as the admin notices his mistake.

I agree that #1 is the right thing for large sites like Wikipedia.

There could be a configuration option to add a confirmation window... for
smaller sites, with fewer distinct editors, an uncaught rollback would on
average be quite significant -- that is, the average number of consecutive edits
by the same editor on a page would be large.

robchur wrote:

Sysops can roll themselves back, so I don't see what the big deal is.

The big deal is that "no confirmation" means you don't realize you've
done it, so you *can't* roll yourself back.

robchur wrote:

You shouldn't be using rollback without taking a few seconds to check before and
after.

Please, for the love of all that is good and honorable, spend a minute considering this bug report. I am sorry that I wasn't clear before:

a) It is possible to misclick or click hastily while viewing a user's contributions page.
b) This misclick can rollback an edit without the user meaning to
c) The result of a rollback is to take you to the page now-rolled-back WITH NO NOTICE THAT A ROLLBACK HAS TAKEN PLACE. Note that this is the same behavior expected from following a link to the current revision of the page.
d) This would seem to be the normal result of having clicked on the much larger link to the page itself from the user's contributions history.
e) If the page title and username wrap over more than one line, a rollback link can appear directly beneath the actual link to the latest revision of a page; a misclick can involve being off by only a few pixels.

Compounding this problem:
f) If the page has a long title, or if the user has contributed many times in a row to the same page, there may 10x or 20x more space on the contributions page that links to a revision of the page without rollback, than space that performs a rollback; a misclick can seem statistically unlikely to the user.

#2 is a definite no-no; the purpose of the rollback ability is to minimize the pain of making a lot of reversions in big vandalism
cases.

#1 would be good.

Revisiting this bug, which still persists. I've now run into 'dangerous' situations because of it numerous times, though after being bitten the first time, leading to filing this bug, my spider sense always kicks in in time.

I browse someone's contribution history. This includes pages with long edit summaries (at least long enough to traverse a full line on the history page at my screen resolution). I move to see a specific page that someone was editing (the first time that page shows up in the history is the one that piques my interest; it is also the one likely to have (top) [rollback] at the end of the edit summary), and the "[rollback]" link is directly below part of the timestamp.

Or I want to "diff" their last edit, and the "[rollback]" link is directly below the diff link.

In the first case, following the rollback link looks just like following the timestamp would - you see the 'latest' version of the page (after you have rolled back, if you clicked [rollback] by mistake) with no extra highlighting or notification text.

In the second case, you see the current revision, rather than a diff. However, the easiest explanation is that you missed the 'diff' link and hit the timestamp, not that you hit a [rollback] link. so you back up to the previous page and try the 'diff' link again, and see the expected diff (unless you are very sharp you won't notice that that is no longer a diff from the latest revision, and that there is a new more-recent diff [your rollback]).

So, one very easy solution this suggests :

#3  make the placement of "(top) [rollback]" more consistent across pages : after the page title, BEFORE the edit sumamry.

#1 above is still the best possible soltion, perhaps in addition to #3.