From: Leon Weber Date: Tue, 9 Jan 2007 15:29:38 +0000 (+0000) Subject: Slight improvement of enhanced recent changes lines. There were complaints about X-Git-Tag: 1.31.0-rc.0~54549 X-Git-Url: http://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=72a5431b33f61072563a8c2fb9c83b103b7597d4;p=lhc%2Fweb%2Fwiklou.git Slight improvement of enhanced recent changes lines. There were complaints about seeing things like "(-9) Versionen" in German, which means "-9 revisions". --- diff --git a/includes/ChangesList.php b/includes/ChangesList.php index a2c1a265e1..58c01ed435 100644 --- a/includes/ChangesList.php +++ b/includes/ChangesList.php @@ -476,13 +476,15 @@ class EnhancedChangesList extends ChangesList { $this->message['changes'], $curIdEq."&diff=$currentRevision&oldid=$oldid" ); } + $r .= ') . . '; + # Character difference $chardiff = $rcObj->getCharacterDifference( $block[ count( $block ) - 1 ]->mAttribs['rc_old_len'], $block[0]->mAttribs['rc_new_len'] ); if( $chardiff == '' ) { - $r .= '; '; + $r .= ' ('; } else { - $r .= '; ' . $chardiff . ' '; + $r .= ' ' . $chardiff. ' . . ('; }