MediaWiki  master
DifferenceEngine

Files

file  ArrayDiffFormatter.php
 Portions taken from phpwiki-1.3.3.
 
file  ComplexityException.php
 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 
file  Diff.php
 A PHP diff engine for phpwiki.
 
file  DiffEngine.php
 New version of the difference engine.
 
file  DifferenceEngine.php
 User interface for the difference engine.
 
file  DifferenceEngineSlotDiffRenderer.php
 Adapter for turning a DifferenceEngine into a SlotDiffRenderer.
 
file  DiffFormatter.php
 Base for diff rendering classes.
 
file  DiffOp.php
 A PHP diff engine for phpwiki.
 
file  DiffOpAdd.php
 A PHP diff engine for phpwiki.
 
file  DiffOpChange.php
 A PHP diff engine for phpwiki.
 
file  DiffOpCopy.php
 A PHP diff engine for phpwiki.
 
file  DiffOpDelete.php
 A PHP diff engine for phpwiki.
 
file  RangeDifference.php
 New version of the difference engine.
 
file  SlotDiffRenderer.php
 Renders a diff for a single slot.
 
file  TableDiffFormatter.php
 Portions taken from phpwiki-1.3.3.
 
file  TextSlotDiffRenderer.php
 Renders a slot diff by doing a text diff on the native representation.
 
file  UnifiedDiffFormatter.php
 Portions taken from phpwiki-1.3.3.
 
file  WordAccumulator.php
 Copyright © 2000, 2001 Geoffrey T.
 
file  WordLevelDiff.php
 Copyright © 2000, 2001 Geoffrey T.
 

Classes

class  ArrayDiffFormatter
 A pseudo-formatter that just passes along the Diff::$edits array. More...
 
class  Diff
 Class representing a 'diff' between two sequences of strings. More...
 
class  DiffEngine
 This diff implementation is mainly lifted from the LCS algorithm of the Eclipse project which in turn is based on Myers' "An O(ND) difference algorithm and its variations" (http://citeseer.ist.psu.edu/myers86ond.html) with range compression (see Wu et al. More...
 
class  DifferenceEngine
 DifferenceEngine is responsible for rendering the difference between two revisions as HTML. More...
 
class  DifferenceEngineSlotDiffRenderer
 B/C adapter for turning a DifferenceEngine into a SlotDiffRenderer. More...
 
class  DiffFormatter
 Base class for diff formatters. More...
 
class  DiffOp
 The base class for all other DiffOp classes. More...
 
class  DiffOpAdd
 Extends DiffOp. More...
 
class  DiffOpChange
 Extends DiffOp. More...
 
class  DiffOpCopy
 Extends DiffOp. More...
 
class  DiffOpDelete
 Extends DiffOp. More...
 
class  RangeDifference
 Alternative representation of a set of changes, by the index ranges that are changed. More...
 
class  SlotDiffRenderer
 Renders a diff for a single slot (that is, a diff between two content objects). More...
 
class  TableDiffFormatter
 MediaWiki default table style diff formatter. More...
 
class  TextSlotDiffRenderer
 Renders a slot diff by doing a text diff on the native representation. More...
 
class  UnifiedDiffFormatter
 A formatter that outputs unified diffs. More...
 
class  MediaWiki\Diff\WordAccumulator
 Stores, escapes and formats the results of word-level diff. More...
 
class  WordLevelDiff
 Performs a word-level diff on several lines. More...
 

Detailed Description