Hoo man has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/56942


Change subject: Restore compatiblity with MW 1.20 and 1.19
......................................................................

Restore compatiblity with MW 1.20 and 1.19

Partly reverts I8e420f0259ef6c9e579f7a00beb58f28af9da37d (untested)

Change-Id: Ib8634a3178a626f50f1150661842c16dc26c9516
---
M special/SpecialAbuseLog.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/AbuseFilter 
refs/changes/42/56942/1

diff --git a/special/SpecialAbuseLog.php b/special/SpecialAbuseLog.php
index 2774c27..cc80c10 100644
--- a/special/SpecialAbuseLog.php
+++ b/special/SpecialAbuseLog.php
@@ -308,7 +308,8 @@
                        $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' />

-- 
To view, visit https://gerrit.wikimedia.org/r/56942
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib8634a3178a626f50f1150661842c16dc26c9516
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/AbuseFilter
Gerrit-Branch: master
Gerrit-Owner: Hoo man <h...@online.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to