mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Restore compatibility with MW 1.20 and 1.19
Partly reverts I8e420f0259ef6c9e579f7a00beb58f28af9da37d (untested) Change-Id: Ib8634a3178a626f50f1150661842c16dc26c9516
This commit is contained in:
parent
e87bb7a59c
commit
f835cba0c2
|
@ -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' />
|
||||
|
|
Loading…
Reference in a new issue