Page MenuHomePhabricator

diffs should be easier to copy and paste to salvage edits with both good and bad content
Closed, ResolvedPublic

Description

Author: eudaimonic.leftist

Description:
There are times in a diff where there is both good and bad content, so it must
be easier to copy from a diff to paste somewhere. Unfortunately, this brings a
lot of "-" and "+", return newlines, whitespaces when it is pasted. Wikimedia
should have a feature that would have such formatting not copy over (only the
newlines in the original source itself), because I honestly don't see what good
it is to be copied over. Basically, I think there's some kind of function that
would not have the formatting selected and I am wondering if the developers
could put this in.


Version: unspecified
Severity: enhancement

Details

Reference
bz4163

Event Timeline

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

robchur wrote:

I would suggest you open the revision and click edit, then remove the bad bits,
however to summarise for the benefit of those who haven't followed this:

Request is to allow for viewing the wikimarkup of a particular part of a diff,
accessible from the revision comparison page, in order to facilitate copying and
pasting "good" parts of a diff.

cimdb wrote:

What might be a general solution here is a feature to patch particular
paragraphs of the *current version* according to the displayed diff. Sometimes
there is a case of unnoticed vandalism, good edit, more vandalism. The easiest
way to deal with this would be to revert, and then reapply the good edit. A
tool that makes that easier would be good.