Manual:$wgEnableHtmlDiff

Details
Whether to allow visual comparison in diffs (requires php 5.2).