From: Priyanka Dhanda Date: Wed, 1 Dec 2010 00:12:43 +0000 (+0000) Subject: Fixes bug 26163 - Missing categories and iw links on diff pages. X-Git-Tag: 1.31.0-rc.0~33664 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=8e47474df6b2b0c83370998e8bf4dff1a5d012c4;p=lhc%2Fweb%2Fwiklou.git Fixes bug 26163 - Missing categories and iw links on diff pages. --- diff --git a/includes/diff/DifferenceEngine.php b/includes/diff/DifferenceEngine.php index f18d655f96..d8fbea9b81 100644 --- a/includes/diff/DifferenceEngine.php +++ b/includes/diff/DifferenceEngine.php @@ -468,6 +468,10 @@ CONTROL; } else { $wgOut->addWikiTextTidy( $this->mNewtext ); } + } else { + $article = new Article( $this->mTitle, 0 ); + $pOutput = $article->getParserOutput(); + $wgOut->addParserOutputNoText( $pOutput ); } if ( is_object( $this->mNewRev ) && !$this->mNewRev->isCurrent() ) {