Merge "Restore compatibility with MW 1.20 and 1.19"

This commit is contained in:
jenkins-bot 2013-04-02 00:39:45 +00:00 committed by Gerrit Code Review
commit 0f27085e4c

View file

@ -308,7 +308,8 @@ class SpecialAbuseLog extends SpecialPage {
$diffEngine = new DifferenceEngine;
$diffEngine->showDiffStyle();
$formattedDiff = $diffEngine->generateTextDiffBody( $old_wikitext, $new_wikitext );
// Note: generateDiffBody has been deprecated in favour of generateTextDiffBody in 1.21 but we can't use it for b/c
$formattedDiff = $diffEngine->generateDiffBody( $old_wikitext, $new_wikitext );
static $colDescriptions = "<col class='diff-marker' />
<col class='diff-content' />