r32257 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32256‎ | r32257 | r32258 >
Date:21:27, 20 March 2008
Author:brion
Status:old
Tags:
Comment:
Don't add spurious ')' in enhanced RC block line if we don't have a clean size change
Modified paths:
  • /trunk/phase3/includes/ChangesList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ChangesList.php
@@ -599,7 +599,7 @@
600600 $chardiff = $rcObj->getCharacterDifference( $block[ count( $block ) - 1 ]->mAttribs['rc_old_len'],
601601 $block[0]->mAttribs['rc_new_len'] );
602602 if( $chardiff == '' ) {
603 - $r .= ') ';
 603+ $r .= ' ';
604604 } else {
605605 $r .= ' ' . $chardiff. ' . . ';
606606 }

Status & tagging log