Last modified: 2007-01-07 15:54:57 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 8474 - Formatnum function fails for languages with space as 1000-separator
Formatnum function fails for languages with space as 1000-separator
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2007-01-03 23:08 UTC by Raimond Spekking
Modified: 2007-01-07 15:54 UTC (History)
0 users

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

Patch for LanguageKsh.php (536 bytes, patch)
2007-01-03 23:59 UTC, Raimond Spekking

Description Raimond Spekking 2007-01-03 23:08:15 UTC
The formatnum function gives a wrong output in languages with a space as

{{formatnum:123456}} = 123;psbn&456

Same effect on recentchanges and watchlist (sizechange)
Comment 1 Raimond Spekking 2007-01-03 23:59:30 UTC
Created attachment 3011 [details]
Patch for LanguageKsh.php

I am unsure if this patch works or if I made nonsense...
Comment 2 Brion Vibber 2007-01-04 07:47:45 UTC
Patch is bad, but the existing code is horrendous.

Note that   is invalid for the output of formatNum(), which produces *text*
not HTML.
Comment 3 Raimond Spekking 2007-01-07 15:54:57 UTC
Fixed with r18872 by nikerabbit

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