Feature summary:
When I use the diff viewer I expect to see the actual text differences and I don't want the diff view to be destroyed by formatting symbols. As this is currently not the case we want to work on a better diff viewer. This is one of the most requested features from the Wishlist survey 2022 that lists the communities most pressing issues.
Task:
Write a script to compare output equivalence between Wikidiff2 ext and PHP DiffEngine. Make use of several different test documents with a combination of additions, deletions, line breaks, paragraph moves, etc and get a diff highlighting the difference between their output.
Use case(s):
- when using a line break, the diff viewer falsely interprets it as deleted text and readded text
- lines aren’t shown while you’re editing, but they do appear on diffs as the counting unit
Benefits:
Since both engines are maintained separately and new features/changes in one are not always ported to the other, the goal here is to get a proper picture of how far apart they've drifted based on their respective output.
Acceptance criteria:
- compare additions
- compare deletions
- compare paragraph moves