Module: html2wt/SelectiveSerializer

This is a Serializer class that will compare two versions of a DOM and re-use the original wikitext for unmodified regions of the DOM. Originally this relied on special change markers inserted by the editor, but we now generate these ourselves using DOMDiff.

Classes

SelectiveSerializer

If we have the page source (this.env.page.src), we use the selective serialization method, only reporting the serialized wikitext for parts of the page that changed.