From: Brion Vibber Date: Wed, 20 Dec 2006 22:04:44 +0000 (+0000) Subject: Revert r18468 X-Git-Tag: 1.31.0-rc.0~54828 X-Git-Url: http://git.cyclocoop.org/%27.parametre_url%28%20%20%20generer_action_auteur%28%27charger_plugin%27%2C%20%27update_flux%27%29%2C%27update_flux%27%2C%20%27oui%27%29.%27?a=commitdiff_plain;h=8ae8e5f58795e2fe9e03a719630bc372423b22c8;p=lhc%2Fweb%2Fwiklou.git Revert r18468 Makes no sense --- diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 63fdcce71f..68aeffef0e 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -556,15 +556,13 @@ class RecentChange $szdiff = $new - $old; if( $szdiff < $wgRCChangedSizeThreshold ) { - // workaround to make it show a minus char instead of a dash. formatNum() doesn't do that. - return '(−' . $wgLang->formatNum( abs( $szdiff ) ) . ')'; + return '(' . $wgLang->formatNum( $szdiff ) . ')'; } elseif( $szdiff === 0 ) { return '(' . $wgLang->formatNum( $szdiff ) . ')'; } elseif( $szdiff > 0 ) { return '(+' . $wgLang->formatNum( $szdiff ) . ')'; } else { - // same workaround. - return '(−' . $wgLang->formatNum( abs( $szdiff ) ) . ')'; + return '(' . $wgLang->formatNum( $szdiff ) . ')'; } } }