Write a Python module which takes an old and a new Parsoid HTML rendering and produces a human-readable diff (as well as a boolean "same / differs") of the text content.
- Convert HTML to text. Normalize away whitespace or ignore in the diff.
- Take the text difference between two documents, saving the changes as: boolean yes/no, list of changes, optionally as a rendered HTML file showing the text diff.
- Write a script which runs this diff in each sample directory, writing HTML file outputs to files diffs/<wiki>/{old, new, diff}_<revid>.html.
- Write NDJSON output file with lines containing: page ID, boolean yes/no, list of text changes
Out of scope:
- Non-text diffs, for example HTML attributes or image alt text.






