Index: trunk/phase3/RELEASE-NOTES-1.19 |
— | — | @@ -228,6 +228,7 @@ |
229 | 229 | of whatever the query value contains. |
230 | 230 | * (bug 4438) Add CSS hook for current WikiPage action. |
231 | 231 | * (bug 33703) Common border-bottom color for <abbr> should inherit default (text) color |
| 232 | +* (bug 33819) Display filesize on Special:NewFiles in appropriate unit. |
232 | 233 | |
233 | 234 | === API changes in 1.19 === |
234 | 235 | * Made action=edit less likely to return "unknownerror", by returning the actual error |
Index: trunk/phase3/includes/ImageGallery.php |
— | — | @@ -314,8 +314,7 @@ |
315 | 315 | |
316 | 316 | if( $this->mShowBytes ) { |
317 | 317 | if( $img ) { |
318 | | - $fileSize = wfMsgExt( 'nbytes', array( 'parsemag', 'escape'), |
319 | | - $wgLang->formatNum( $img->getSize() ) ); |
| 318 | + $fileSize = $wgLang->formatSize( $img->getSize() ); |
320 | 319 | } else { |
321 | 320 | $fileSize = wfMsgHtml( 'filemissing' ); |
322 | 321 | } |