HTML diffs of edits for everything
Open, NormalPublic

Description

Eventually we would like to move away from the use of wikitext to preview diffs in Visual Editor. Instead, diffs could be displayed in a WYSIWYG style. Perhaps with color highlighting, perhaps with strikeouts and boldface, perhaps with inserted annotations that look like marks a human editor would use.

Parsoid generates HTML diffs internally. So it would be nice to prototype a HTML diff UI based on Parsoid DOM (HTML5) diffs in Parsoid. If this is successful, it could also be used by Visual Editor (perhaps visual editor would request the diff from Parsoid).


See also: T21859: Remove HTMLDiff

Related Objects

StatusAssignedTask
OpenNone
ResolvedTchanders
ResolvedTchanders
ResolvedTchanders
ResolvedTchanders
ResolvedTchanders
ResolvedEsanders
ResolvedTchanders
ResolvedEsanders
ResolvedTchanders
ResolvedJdforrester-WMF
ResolvedTchanders
OpenTchanders
OpenNone
ResolvedTchanders
ResolvedTchanders
ResolvedJdforrester-WMF
ResolvedEsanders
ResolvedEsanders
ResolvedTchanders
ResolvedJdforrester-WMF
ResolvedEsanders
ResolvedEsanders
ResolvedTchanders
OpenNone
ResolvedEsanders
ResolvedTchanders
ResolvedEsanders
OpenNone
cscott created this task.Jul 8 2015, 3:52 PM
cscott updated the task description. (Show Details)
cscott raised the priority of this task from to Normal.
cscott added a subscriber: cscott.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 8 2015, 3:52 PM
ssastry renamed this task from Visual Diffs for Parsoid (and Visual Editor) to HTML diffs of edits for Parsoid (and Visual Editor).Jul 8 2015, 6:20 PM
ssastry updated the task description. (Show Details)
ssastry set Security to None.
Jdforrester-WMF renamed this task from HTML diffs of edits for Parsoid (and Visual Editor) to HTML diffs of edits for everything.Jul 18 2015, 6:47 PM
Stryn added a subscriber: Stryn.Jul 18 2015, 9:28 PM
jeblad added a subscriber: jeblad.Jul 18 2015, 10:54 PM

What is the status of this task, now that Wikimania 2015 is over? Did this hacking project take place and was successfully finished? If yes: Please provide an update and potentially summarize findings / provide a link to anything relevant (and if the task is not completely finished yet, please move the project to the "Work continues after Mexico City" column on the #Wikimania-Hackathon-2015 workboard). If no: Please edit this task by removing the #Wikimania-Hackathon-2015 project from this task. Thanks for your help and keeping this task updated!

Elitre added a subscriber: Elitre.Jul 30 2015, 3:20 PM
Qgil added a subscriber: Qgil.Sep 16 2015, 10:17 AM

A message to all open tasks related to the #Wikimania-Hackathon-2015. What do you need to complete this task? Do you need support from the Wikimedia Foundation to push it forward? Help promoting this project? Finding an intern to work on it? Organizing a developer sprint? Pitching it to WMF teams? Applying for a grant? If you need support, share your request at T107423: Evaluate which projects showcased at the Wikimania Hackathon 2015 should be supported further or contact me personally. Thank you!

@cscott Does Parsoid generate HTML string diffs or DOM diffs? We had briefly looked at https://github.com/fiduswriter/diffDOM.

We generate DOM diffs internally for selective serialization, if that is what you are asking about.

Jay8g added a subscriber: Jay8g.Jan 2 2016, 3:35 AM
Esanders added a comment.EditedJul 15 2016, 10:50 AM

Interesting: https://facebook.github.io/react/docs/reconciliation.html, especially the part about stable keys.

https://github.com/nyxtom/reconcile.js is an implementation of this, but doesn't include the stable keys feature and supports stable keys via the 'id' property.

Arlolra added a subscriber: Arlolra.Nov 8 2016, 5:55 PM