Last modified: 2013-08-29 23:56:44 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 T54937, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52937 - Implement a DOM format upgrade framework
Implement a DOM format upgrade framework
Status: NEW
Product: Parsoid
Classification: Unclassified
DOM (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-16 18:05 UTC by Gabriel Wicke
Modified: 2013-08-29 23:56 UTC (History)
2 users (show)

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


Attachments

Description Gabriel Wicke 2013-08-16 18:05:20 UTC
We need to version our DOM format so that 

1) old versions can be detected, and ideally
2) old versions can be upgraded to the latest version while reusing expensive parts of the DOM

This is especially important once we move to permanent HTML storage, but should also be useful to avoid the need for full cache purges in the current Varnish setup.
Comment 1 Gerrit Notification Bot 2013-08-27 00:48:31 UTC
Change 81169 had a related patch set uploaded by GWicke:
Bug 52937: Add Parsoid version in HTML head

https://gerrit.wikimedia.org/r/81169
Comment 2 Gabriel Wicke 2013-08-27 03:49:48 UTC
See also bug 52941, which is about the need to re-sanitize content with a newer sanitizer version as part of the upgrade path.

For efficiency we should probably expose the version as a HTTP header too, which can then be tested by the PHP frontend or Parsoid. The actual upgrade should happen in Parsoid using the varnish HTML, similar to the way we reuse HTML fragments currently.
Comment 3 Gerrit Notification Bot 2013-08-28 21:52:54 UTC
Change 81169 merged by jenkins-bot:
Bug 52937: Add Parsoid version in HTML head

https://gerrit.wikimedia.org/r/81169
Comment 4 Gabriel Wicke 2013-08-29 23:56:27 UTC
The first part (simple versioning) is now deployed in production. The upgrade framework is still to do. Lowering priority to reflect that.

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


Navigation
Links