Last modified: 2006-01-03 15:23:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3701 - Another really small LanguageHr.php update
Another really small LanguageHr.php update
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-13 19:49 UTC by elephantus
Modified: 2006-01-03 15:23 UTC (History)
0 users

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


Attachments
Patch to remove the thousands separator (482 bytes, patch)
2005-10-13 19:55 UTC, elephantus
Details
Patch to remove the commafy() from the current file (367 bytes, patch)
2005-10-15 00:23 UTC, elephantus
Details

Description elephantus 2005-10-13 19:49:56 UTC
I had to transfer formatNum() code from the Russian language
LanguageRu.php to LanguageHr.php in order to make the
last patch http://bugzilla.wikimedia.org/show_bug.cgi?id=3656
(convertPlural()) work properly. This removes
the thousands separator from the number of articles, because
in Croatian this is a dot (instead of a comma in English)
and this confuses the convertPlural() function.

Thanks!
Comment 1 elephantus 2005-10-13 19:55:26 UTC
Created attachment 992 [details]
Patch to remove the thousands separator
Comment 2 Ævar Arnfjörð Bjarmason 2005-10-13 23:57:33 UTC
(In reply to comment #1)
> Created an attachment (id=992) [edit]
> Patch to remove the thousands separator
> 

You don't want to use $wgTranslateNumerals, it's only for language like Arabic
that have two widely used number format systems, which I understand is not the
case for Russian.
Comment 3 elephantus 2005-10-15 00:23:05 UTC
Created attachment 998 [details]
Patch to remove the commafy() from the current file

This fixes the problem with convertPlural() in LanguageHr.php. It dumps the
thousands separator, but that's a price worth paying because
a wrong case looks just awful in Croatian, and a missing
separator is not that big an issue. :-)
Comment 4 Niklas Laxström 2006-01-03 15:23:06 UTC
Another solution applied.

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


Navigation
Links