Page MenuHomePhabricator

VisualEditor: Don't re-serialise HTML into wikitext through Parsoid after preview, but retain
Closed, ResolvedPublic

Description

Previewing a page and then saving it without further modifications should result in one serialization request being made to Parsoid, not two. The serialized DOM generated in course of responding to the preview request should be re-used when saving whenever VisualEditor can determine that no modifications intervene these two operations.


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=56011

Details

Reference
bz55979

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:22 AM
bzimport set Reference to bz55979.

Change 93109 had a related patch set uploaded by Catrope:
Implement serialization cache in VisualEditor API

https://gerrit.wikimedia.org/r/93109

Change 93934 had a related patch set uploaded by Catrope:
[WIP] Use serialization cache in MW integration

https://gerrit.wikimedia.org/r/93934

Change 93109 merged by jenkins-bot:
Implement serialization cache in VisualEditor API

https://gerrit.wikimedia.org/r/93109

Change 93934 merged by jenkins-bot:
Use serialization cache in MW integration

https://gerrit.wikimedia.org/r/93934