Page MenuHomePhabricator

Diffs between SVG uploads should display differences in code
Open, LowPublic

Description

When uploading new versions of raster graphics, we get text like:
"Foo uploaded a new version of File:Bar.jpg:..."
followed by whatever text a user chooses to insert as an edit summary. In the case of two separate JPEGs, that's probably the best you can do, but with vector graphics we could actually display differences *in* the SVG itself. It seems like this could be a very doable and useful function for spotting what the actual differences are between revisions of an SVG file.


Version: 1.21.x
Severity: enhancement

Details

Reference
bz42566

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:07 AM
bzimport set Reference to bz42566.
bzimport added a subscriber: Unknown Object (MLST).
Koavf created this task.Nov 30 2012, 8:17 AM

/me pasted into the wrong bug

The need for this functionality has been identified again at the Oxford Wikimeet. Is there any liklihood of someone taking it forward any time soon?

(In reply to Chris McKenna from comment #3)
I guess you could write a gadget or tool doing this; but I doubt a change in core will happen soon as too much would be involved. I've just written a user script on Commons that allows me in-page-editing of the SVG source code. https://commons.wikimedia.org/wiki/User:Rillke/SVGedit.js

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:13 PM
Restricted Application added subscribers: Steinsplitter, Matanya, Aklapper. · View Herald TranscriptSep 4 2015, 6:13 PM

I uploaded https://gerrit.wikimedia.org/r/179402 exactly for the purpose of diffing between files.