Page MenuHomePhabricator

add 3-way diffs to assist reversion
Closed, DeclinedPublic

Description

Author: blah

Description:
I'd like to suggest adding a 3-way diff feature that runs a diff3 between three
revisions of a page, e.g.
w/index.php?title=Pagename&action=diff3&id1=12345&id2=67890&id3=13579

The purpose is to assist reverting an arbitrary edit, e.g.:

  1. Spammer inserts spam extlink into article
  2. Other people edit the article, leaving the spamlink in place
  3. You want to remove the spamlink leaving the later edits in place.

The diff3 feature would allow putting an command into navpops that would diff3
the spam edit, the previous edit, and the current version, then edit out the
spam. There could also be a "revert" button attached to every diff in a history
list, as an enhancement to admin rollback. There's a little more discussion of
this on Lupin's talk page and the server-side diff3 was his suggestion:

http://en.wikipedia.org/w/index.php?title=User_talk:Lupin&oldid=69167437#navpops_edit_reversion_suggestion

--Phr


Version: unspecified
Severity: enhancement
OS: Linux
Platform: PC

Details

Reference
bz6991

Event Timeline

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

blah wrote:

I should add: the diff3 output should be XML, for easy digestion by navpops and
similar tools.

robchur wrote:

We more or less have this, in the form of the "undo" feature.