Last modified: 2014-02-21 17:46:19 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 T54687, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52687 - Use IEC units (KiB, MiB, etc.) and not SI units (KB, MB) on file description
Use IEC units (KiB, MiB, etc.) and not SI units (KB, MB) on file description
Status: UNCONFIRMED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.22.0
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-10 04:11 UTC by Zéfling
Modified: 2014-02-21 17:46 UTC (History)
10 users (show)

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


Attachments

Description Zéfling 2013-08-10 04:11:05 UTC
Why Mediawiki dont' use KiB, MiB, etc. ?

https://en.wikipedia.org/wiki/Binary_prefix
Comment 1 Niklas Laxström 2013-08-10 04:34:51 UTC
The messages are defined in MessagesEn.php:
'size-bytes'      => '$1 B', # only translate this message to other languages if you have to change it
'size-kilobytes'  => '$1 KB', # only translate this message to other languages if you have to change it
'size-megabytes'  => '$1 MB', # only translate this message to other languages if you have to change it
'size-gigabytes'  => '$1 GB', # only translate this message to other languages if you have to change it
'size-terabytes'  => '$1 TB', # only translate this message to other languages if you have to change it
'size-petabytes'  => '$1 PB', # only translate this message to other languages if you have to change it
'size-exabytes'   => '$1 EB', # only translate this message to other languages if you have to change it
'size-zetabytes'  => '$1 ZB', # only translate this message to other languages if you have to change it
'size-yottabytes' => '$1 YB', # only translate this message to other languages if you have to change it

This is not an i18n issue. Some languages have opted to use binary prefixes already by translating these messages.

This issue is about "What people are used to" vs. "What is technically correct".
Comment 2 Andre Klapper 2013-08-10 07:18:06 UTC
This should probably be discussed on English communities if such a change is wanted. And this might be a really good bikeshed.

Note: SI units are power-of-ten based, IEC units are power-of-two based.
Also see http://en.wikipedia.org/wiki/Binary_prefix
Comment 3 Zéfling 2013-08-10 11:42:19 UTC
Okay, in French version, it's Kio (Kibi-octet), Mio (Mégi-octet). The French community has already decided.
Comment 4 Nemo 2014-02-05 18:08:55 UTC
Coming here from https://translatewiki.net/wiki/Thread:Support/File_size_messages .

As the consumers vs. hard disk producers wars clearly show, the vast majority of the population interprets "GB" as "GiB". The binary prefixes, while greatly appreciated and used by enthusiasts like me, are not so widely adopted globally. Some languages and operative systems are more precise and use them.

It's not a trivial decision.
Comment 5 Daniel U. Thibault 2014-02-07 03:51:06 UTC
"This issue is about "What people are used to" vs. "What is technically
correct"."

A tiresome argument. The pseudo-SI symbols are just plain wrong at worst, ambiguous at best. There is absolutely no reason to be wishy-washy about this: no ordinary consumer is going to complain of "not understanding the symbols" once he's been pointed to the abundant literature that explains the issue. People are not stupid, they actually like learning new things.
Comment 6 Nemo 2014-02-07 07:21:27 UTC
(In reply to comment #5)
> A tiresome argument. The pseudo-SI symbols are just plain wrong at worst,
> ambiguous at best. There is absolutely no reason to be wishy-washy about
> this:
> no ordinary consumer is going to complain of "not understanding the symbols"
> once he's been pointed to the abundant literature that explains the issue.
> People are not stupid, they actually like learning new things.

Can you clarify if by "pseudo-SI symbols" you mean GB or GiB? Your comment can be read in both ways.
Comment 7 Daniel U. Thibault 2014-02-07 12:25:00 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > A tiresome argument. The pseudo-SI symbols are just plain wrong at worst,
> > ambiguous at best.
> 
> Can you clarify if by "pseudo-SI symbols" you mean GB or GiB? Your comment
> can be read in both ways.

Sadly true. I meant KB, GB, etc. Pseudo-SI because they look like SI (the upper case K is wrong) but their values are different.
Comment 8 Nemo 2014-02-07 12:48:48 UTC
(In reply to comment #7)
> Sadly true. I meant KB, GB, etc. Pseudo-SI because they look like SI (the
> upper
> case K is wrong) but their values are different.

Thanks for clarifying. For what it's worth, the upper K is a separate issue, and a mistake that not all languages and sectors allow themselves: see https://translatewiki.net/w/i.php?title=Special%3ATranslations&message=MediaWiki%3ASize-kilobytes&namespace=1256
Comment 9 Daniel Zahn 2014-02-07 20:50:12 UTC
https://en.wikipedia.org/wiki/Kibibyte
Comment 10 Daniel U. Thibault 2014-02-21 12:27:09 UTC
(In reply to Nemo from comment #8)
> For what it's worth, the upper K is a separate issue,
> and a mistake that not all languages and sectors allow themselves: see
> https://translatewiki.net/w/i.
> php?title=Special%3ATranslations&message=MediaWiki%3ASize-
> kilobytes&namespace=1256

That link lists the various translations for the "Size-kilobytes" message...whose description clearly states its measured in kibibytes. The resulting mess is awesome. Some languages have the correct kibi symbol, others use an ambiguous K, and some use a plainly wrong k. Not to mention those who use a Greek Chi or some such.
Comment 11 Nemo 2014-02-21 16:40:15 UTC
So you know all those languages to nkow what's right and wrong? I remember you we live in a world where some English countries still use ancient era/middle ages units like "foot" and multiply by 12 instead of 10. :)
Comment 12 Bawolff (Brian Wolff) 2014-02-21 16:45:45 UTC
(In reply to Nemo from comment #11)
> So you know all those languages to nkow what's right and wrong? I remember
> you we live in a world where some English countries still use ancient
> era/middle ages units like "foot" and multiply by 12 instead of 10. :)

To be fair, if we counted in base 12, things would be so much better, as 12 has many more factors than 10, which is a good quality in a unit of measure, since you are more likely to divide things out evenly.

----

As for the actual proposal - I'm all for changing english to KiB, at least in english, but its not something that I care enough about to have a flamewar over, so I don't exactly want to upload a patch for it ;)
Comment 13 Daniel U. Thibault 2014-02-21 17:05:58 UTC
(In reply to Nemo from comment #11)
> So you know all those languages to nkow what's right and wrong? I remember
> you we live in a world where some English countries still use ancient
> era/middle ages units like "foot" and multiply by 12 instead of 10. :)

Symbols, when backed by IEEE, IEC, ISO or whatever, are translingual. No translation required. The nature of the quantity being reported by the message is *not* influenced by the language it is in.
Comment 14 Niklas Laxström 2014-02-21 17:46:19 UTC
That may be the ideal, but it is far from true in practice. Most languages using non-latin scripts will at least transliterate the symbols.

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


Navigation
Links