Visual diffs



A visual diff compares and shows differences between rendered (or displayed) documents, as opposed to showing the text (or markup) that is used to format such documents.

Since 2017, the main approach for visual diffs in MediaWiki is the 1>Special:MyLanguage/VisualEditor/Diffs|visual diffs system (pictured) provided by the  extension, which compares the HTML of two documents. It provides visual diffs in VisualEditor's editing preview, as well as (still as a beta feature) in MediaWiki's standard diff display.

Previous attempts at visual diffs in MediaWiki include:


 * As part of their testing efforts, the  team created the "2>Special:MyLanguage/Parsing/Visual Diff Testing|Visual Diff Testing" tool (released around April 2016), which is a pixel differ of the page rendered as an image, used to identify differences between Parsoid and the legacy parser.


 * [http://sourceforge.net/projects/weha/ Wiki Edit History Analyzer] was another apparently-abandoned attempt at visual diffs; its development was discussed in the 2010 paper "[http://www.cis.umac.mo/~robertb/publications/WikiSym2010/WikiSym2010-PeterRobert-Final.pdf What Did They Do? Deriving High-Level Edit Histories in Wikis]".


 * As part of 1>Special:MyLanguage/Google Summer of Code|Google Summer of Code 2008, 2>User:Guyvdb|guyvdb (mentored by 3>User:Brion VIBBER|Brion Vibber) created 4>Special:MyLanguage/Visual diffs/2008 project|an HTML diffing tool in MediaWiki core, which was later removed in 2009.