Last modified: 2014-05-25 20:13:40 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 T44566, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42566 - Diffs between SVG uploads should display differences in code
Diffs between SVG uploads should display differences in code
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.21.x
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: svg
  Show dependency treegraph
 
Reported: 2012-11-30 08:17 UTC by Justin Anthony Knapp
Modified: 2014-05-25 20:13 UTC (History)
7 users (show)

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


Attachments

Description Justin Anthony Knapp 2012-11-30 08:17:38 UTC
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.
Comment 1 Rainer Rillke @commons.wikimedia 2013-09-02 10:51:32 UTC
This should be supported for all human-readable file formats (i.e. files that are not saved in a binary format).

Example: https://commons.wikimedia.org/w/index.php?title=File:De_kaart_van_Yemo.png&withJS=MediaWiki:FileContentsByBot.js

Diff: https://commons.wikimedia.org/w/index.php?title=File%3ADe_kaart_van_Yemo.png&diff=103195263&oldid=79481985
Comment 2 Rainer Rillke @commons.wikimedia 2013-09-02 10:52:04 UTC
/me pasted into the wrong bug
Comment 3 Chris McKenna 2014-05-25 18:24:08 UTC
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?
Comment 4 Rainer Rillke @commons.wikimedia 2014-05-25 20:13:40 UTC
(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

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


Navigation
Links