Last modified: 2014-06-01 17:42:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T49782, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47782 - Rollback workflow needs further thought
Rollback workflow needs further thought
Status: NEW
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.22.0
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-27 22:06 UTC by MZMcBride
Modified: 2014-06-01 17:42 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description MZMcBride 2013-04-27 22:06:48 UTC
If you have the "rollback" user right, you get a "rollback" link in various parts of the user interface. This is currently a confirmation-less link that will revert all of the edits a user has made to an article (cf. [[WP:ROLLBACK]]).

It's _really easy_ to accidentally click this link. It happens fairly frequently, particularly for users on touchscreen devices (an iPad, for example).

I couldn't find a bug already tracking this issue, so I'm filing this one.

It may make sense to require two clicks for rollback links (this was similarly proposed at bug 47658). The current assumption that power-users (i.e., users with the "rollback" user right) aren't clumsy and won't accidentally click this link is clearly faulty. :-)
Comment 1 Resolute 2013-04-27 22:22:25 UTC
Well, making rollback a two-click process defeats its purpose and renders it redundant to undo.  The problem, really is in the design of the watchlist.  Since each entry is just a string of data of varying lengths, the rollback button can be anywhere on the horizontal axis, including right on top of article or other links, leading to the misclick.

Personally, I think a good solution would be to change the watchlist into a spreadsheet style and put the article, last editor, edit description and undo/rollback buttons in their own cells.  Keep rollback right justified and away from the other links.
Comment 2 MZMcBride 2013-04-27 22:28:25 UTC
(In reply to comment #1)
> Well, making rollback a two-click process defeats its purpose and renders it
> redundant to undo.  The problem, really is in the design of the watchlist. 
> Since each entry is just a string of data of varying lengths, the rollback
> button can be anywhere on the horizontal axis, including right on top of
> article or other links, leading to the misclick.

Well, it depends on the two-click implementation. Imagine a system where you click [rollback] and the link magically and instantly turns into [are you sure? click again to confirm] (i.e., no page reload). This workflow would be marginally more burdensome (requiring two clicks rather than one), but it wouldn't be as bad as undo.

> Personally, I think a good solution would be to change the watchlist into a
> spreadsheet style and put the article, last editor, edit description and
> undo/rollback buttons in their own cells.  Keep rollback right justified and
> away from the other links.

Have you tried the "enhanced" watchlist (available via [[Special:Preferences#mw-prefsection-rc]] --> "Group changes by page in recent changes and watchlist (requires JavaScript)")? It may be a starting point for a redesign.
Comment 3 db [inactive,noenotif] 2013-04-28 16:22:07 UTC
You can use user or site css to hide the link on the watchlist for you or all users of the wiki. Try:

.mw-special-Watchlist .mw-rollback-link {
	display: none;
}

Please make the two clicks a option, because not all user will like. You can also write a easy javascript to reach this and make it as gadget.
Comment 4 Jesús Martínez Novo (Ciencia Al Poder) 2013-04-28 16:30:06 UTC
Also the 2-click proposal may interfere with the ability to open the rollback link on a new tab with ctrl+click, or make it tedious when one needs to rollback a lot of edits (like more than 10 or so).

Another solution may be to "hide" them by default, and put a button to make them appear when clicked so they only appear when needed. This could be done as a gadget.
Comment 5 Bartosz Dziewoński 2013-04-28 18:40:59 UTC
(In reply to comment #4)
> Also the 2-click proposal may interfere with the ability to open the rollback
> link on a new tab with ctrl+click, or make it tedious when one needs to
> rollback a lot of edits (like more than 10 or so).

It won't if done right. It could still work as now for middle-clicking or for users using browser extensions to open multiple links at once.

I'm starting to like this idea; the ([rollback]) link expanding to (are you sure? [yes] [no]) should be pretty non-disruptive for power users while still preventing most of the accidental clicks. (And would be reasonably easy to implement – I think those links have a class one could hook to with JavaScript.)
Comment 6 Technical 13 2013-05-31 14:07:40 UTC
(In reply to comment #4)
> Also the 2-click proposal may interfere with the ability to open the rollback
> link on a new tab with ctrl+click, or make it tedious when one needs to
> rollback a lot of edits (like more than 10 or so).
> 
> Another solution may be to "hide" them by default, and put a button to make
> them appear when clicked so they only appear when needed. This could be done
> as a gadget.

(In reply to comment #5)
> I'm starting to like this idea; the ([rollback]) link expanding to (are you
> sure? [yes] [no]) should be pretty non-disruptive for power users while still
> preventing most of the accidental clicks. (And would be reasonably easy to
> implement – I think those links have a class one could hook to with
> JavaScript.)

Someone could probably expand my solution on Bug 46412 and my new [[User:Technical 13/Scripts/NoThanks.js]] to make it so that [Rollback] (or any of the others) is grayed out until clicked on and then the second click would perform the action...  I would be happy to work on that.  I've been thinking of improving and modifying that code anyways and I could add multiple settings to allow for hiding/removal of rollback, block, thank, and undo links based on user settings...

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links