Last modified: 2013-03-19 05:17:16 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 T42354, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40354 - Add support for formatnum in JavaScript mw.msg()
Add support for formatnum in JavaScript mw.msg()
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Santhosh Thottingal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-19 12:44 UTC by Aude
Modified: 2013-03-19 05:17 UTC (History)
5 users (show)

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


Attachments

Description Aude 2012-09-19 12:44:34 UTC
{{formatnum}} in i18n messages does not work if a message is used in by JavaScript mw.msg().

It would be nice to have this implemented for JS messages.  Otherwise, there's not necessarily a way for translators to know which messages are used in JS and they might use this, and the message shows an error.
Comment 1 Niklas Laxström 2012-09-19 17:28:45 UTC
Please also report separate bugs for any JS messages you encounter not using localised numbers. Those can be fixed in a better way.
Comment 2 Siebrand Mazeland 2013-01-08 11:30:37 UTC
Behaviour is ideally equal to that as documented in http://www.mediawiki.org/wiki/Help:Magic_words#Formatting.
Comment 3 Alex Monk 2013-01-28 17:27:27 UTC
Gerrit change #44222 merged by Nikerabbit on the 21st. Is this bug resolved now?
Comment 4 Niklas Laxström 2013-01-28 17:30:44 UTC
There is followup by Santhosh which improves it: Gerrit change #44968

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


Navigation
Links