Restore compatibility with MW 1.20 and 1.19

Partly reverts I8e420f0259ef6c9e579f7a00beb58f28af9da37d (untested)

Change-Id: Ib8634a3178a626f50f1150661842c16dc26c9516
This commit is contained in:
Marius Hoch 2013-04-01 19:48:39 +02:00
parent e87bb7a59c
commit f835cba0c2

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' />