From ddf84e0ae8376d0fe45765e3dd204d311300190b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 21 Sep 2011 05:52:55 +0000 Subject: [PATCH] Fix a conflict(?) in Special:Contributions in r97658. --- includes/specials/SpecialContributions.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index a9b7bf5c1b..e1ed54a51e 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -641,6 +641,13 @@ class ContribsPager extends ReverseChronologicalPager { array( 'action' => 'history' ) ); + if ( isset( $this->mParentLens[$row->rev_parent_id] ) ) { + $chardiff = ' . . ' . ChangesList::showCharacterDifference( + $this->mParentLens[$row->rev_parent_id], $row->rev_len ) . ' . . '; + } else { + $chardiff = ''; + } + $comment = $this->getLang()->getDirMark() . Linker::revComment( $rev, false, true ); $date = $this->getLang()->timeanddate( wfTimestamp( TS_MW, $row->rev_timestamp ), true ); if( $rev->userCan( Revision::DELETED_TEXT ) ) { -- 2.20.1