Index: trunk/phase3/includes/ChangesList.php |
— | — | @@ -106,9 +106,14 @@ |
107 | 107 | * @returns string |
108 | 108 | */ |
109 | 109 | public static function showCharacterDifference( $old, $new ) { |
110 | | - global $wgRCChangedSizeThreshold, $wgLang; |
| 110 | + global $wgRCChangedSizeThreshold, $wgLang, $wgMiserMode; |
111 | 111 | $szdiff = $new - $old; |
112 | | - $formatedSize = wfMsgExt( 'rc-change-size', array( 'parsemag', 'escape' ), $wgLang->formatNum( $szdiff ) ); |
| 112 | + |
| 113 | + $formatedSize = ( $wgMiserMode? |
| 114 | + $wgLang->formatNum($szdiff) : // avoid expensive calculations |
| 115 | + wfMsgExt( 'rc-change-size', array( 'parsemag', 'escape' ), $wgLang->formatNum( $szdiff ) ) |
| 116 | + ); |
| 117 | + |
113 | 118 | if( abs( $szdiff ) > abs( $wgRCChangedSizeThreshold ) ) { |
114 | 119 | $tag = 'strong'; |
115 | 120 | } else { |