Last modified: 2014-10-09 23:48:09 UTC
We have moved data-parsoid to data.parsoid on the DOM and save that data at the end of DOM postprocessing. Other attributes like data-mw are currently handled manually. It would probably be both faster and more convenient to use data.* for those attributes as well. The necessary support for loading and saving them is mostly implemented in loadDataAttrib (missing: loadDataAttribs) and saveDataAttribs. With the exception of data-parsoid, we should only load data attributes that are actually defined by default.
Change 159254 had a related patch set uploaded by Arlolra: Move data-mw away from manual JSON attr loading https://gerrit.wikimedia.org/r/159254
Change 159254 had a related patch set uploaded by Arlolra: (Bug 53109) Move data-mw away from manual JSON attr loading https://gerrit.wikimedia.org/r/159254
Change 159254 merged by jenkins-bot: (Bug 53109) Move data-mw away from manual json attr loading https://gerrit.wikimedia.org/r/159254
Aren't there other data-* properties left to do?
I guess I was thinking about data-parsoid-diff, data-parsoid-serialize but I those are just serialization things.