mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Merge "Restore compatibility with MW 1.20 and 1.19"
This commit is contained in:
commit
0f27085e4c
|
@ -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