Last modified: 2012-01-20 08:06:49 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35819, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33819 - Display filesizes in appropriate units
Display filesizes in appropriate units
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-19 14:20 UTC by Subfader
Modified: 2012-01-20 08:06 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Subfader 2012-01-19 14:20:20 UTC
On category page galleries (e.g. http://www.mediawiki.org/wiki/Category:Files_used_by_extensions_documentation ) and on http://www.mediawiki.org/wiki/Special:NewFiles the file size is displayed in bytes.

That's hard to read and should be displayed in KB, MB, etc. (whatever applies). Just like on e.g. http://www.mediawiki.org/wiki/Special:ListFiles

There might be more pages that display filesize in bytes only.
Comment 1 Sam Reed (reedy) 2012-01-19 16:45:36 UTC
r109547 fixes this one

Other usages of 'nbytes':
Mime search: Image size - Fixed in r109548
Generic.php: r109549

Should revision things be displayed in bytes/kb/mb/gb etc? If so, it's easily done...

Linker: Revision Size
Special:Newpages
Special:Shortpages
Special:Undelete
RevisionDelete
Comment 2 Subfader 2012-01-20 08:06:49 UTC
Yes, it should display in bytes/kb/mb/gb everywhere.

Maybe not on the dupe check result on Special:upload?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links