Extension:WikEdDiff



wikEdDiff is a visual inline-style difference engine with block move support. This extension is a feature-identical synced one-to-one port of the JavaScript library wikEd diff that is used by the Wikipedia/MediaWiki in-browser editor wikEd and by the gadget wikEdDiff. You can test wikEdDiff by checking any of these gadgets in your English Wikipedia preferences. For testing the effects of different settings, you can also use the wikEd diff online tool and demo.

Features

 * Visual inline style, changes are shown in a single output text
 * Block move detection and highlighting
 * Resolution down to characters level
 * Unicode and multilingual support
 * Stepwise split (paragraphs, sentences, words, characters)
 * Recursive diff
 * Optimized code for resolving unmatched sequences
 * Minimization of length of moved blocks
 * Alignment of ambiguous unmatched sequences to next line break or word border
 * Clipping of unchanged irrelevant parts from the output (optional)
 * Fully customizable
 * Text split optimized for MediaWiki source texts
 * Well commented and documented code

Performance
The performance of wikEdDiff as compared to the MediaWiki default engine 'wikidiff3' depends mostly on the number of changes per text. For typical comparisons, wikEdDiff is up to 6-fold faster faster than the MediaWiki default engine 'wikidiff3', especially for long articles with few changes. For heavily changed articles, however, it can be up to 3-fold slower than 'wikidiff3'. These values are for wikEdDiff version 1.2.1 with default settings (i.e. optimal diff quality).