Selective Serialization

Selective Serialization is the capability of Parsoid is to inspect a DOM for special change markers, usually supplied by an HTML5 WYSIWYG editor (like the VisualEditor for MediaWiki), and determine what needs to be serialized and what can simply be copied over.

The current implementation can be found in the mediawiki/services/parsoid project on the Wikimedia Git repository browser.