Last modified: 2006-05-02 23:19:46 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 5768 - Provide unformatted version of {{NUMBEROFUSERS}}
Provide unformatted version of {{NUMBEROFUSERS}}
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Rob Church
Depends on:
  Show dependency treegraph
Reported: 2006-04-30 11:06 UTC by Borgx
Modified: 2006-05-02 23:19 UTC (History)
2 users (show)

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


Description Borgx 2006-04-30 11:06:29 UTC
Need unformatted version of {{NUMBEROFUSERS}} in order to provide welcome
message "You are user # to Wikipedia" using ParserFunctions

In Wikipedia with comma as thousand delimiter will results:
Expression error: unrecognised punctuation character ","

In Wikipedia with period as thousand delimiter (ex:id.wikipedia), the result is
ex: {{NUMBEROFUSERS}} = 10.000
{{expr:{{NUMBEROFUSERS}}+1}} = 11.000
Comment 1 Anders Wegge Jakobsen 2006-04-30 15:06:26 UTC
Excuse me my French, but that would mean that the first user on a wiki would be
greeted with "You are user 2 to Wikipedia"

Comment 2 Rob Church 2006-04-30 20:11:18 UTC
Fixed in SVN trunk, r13978. {{NUMBEROFUSERS}}, {{NUMBEROFFILES}} and
{{NUMBEROFARTICLES}} will now all accept a "raw" modifier, e.g. {{NUMBEROFUSERS|R}}.

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