wikidiff2 allows identifying paragraphs that have moved in diffs improving the readability of diffs
This has been enabled here:
The reading web team will update the design of the diff page so that this can be enabled in production.
To enable locally with vagrant enable the wikidiff2 role and add the following config:
ini_set("wikidiff2.moved_line_threshold", 0.5); ini_set("wikidiff2.change_threshold", 0.2); $wgWikiDiff2MovedParagraphDetectionCutoff = 30; ini_set("wikidiff2.moved_paragraph_detection_cutoff_mobile", 30);
Also defined here:
https://wmde-wikidiff2-mobile.wmflabs.org/core/index.php/Special:MobileDiff/1455 but disabled.
Sign off steps
Talk to Wikimedia DE about the plan for deploying the changes.
Visit http://reading-web-staging.wmflabs.org/wiki/Special:MobileDiff/9?useformat=mobile and confirm design matches mock.