Last modified: 2008-12-08 23:30:31 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 5095 - Administrator percentage in Special:Statistics should round to a number of significant figures, not decimals
Administrator percentage in Special:Statistics should round to a number of si...
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-02-26 01:03 UTC by Enoch Lau
Modified: 2008-12-08 23:30 UTC (History)
1 user (show)

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


Description Enoch Lau 2006-02-26 01:03:23 UTC
[[MediaWiki:Userstatstext]] contains a variable $4 that displays the percentage
of users who are administrators. At least on the English Wikipedia, the number
of administrators is growing at a slower rate than the number of registered
users. Currently, only one significant figure is displayed, and it is
conceivable that in the not-too-distant future, the variable will display as
0.00%, a useless statistic. It would be great if the number of significant
places could be chosen as necessary, for example, by the introduction of further
variables (e.g. $5 could represent the percentage with 3 decimal places, $6 for
4 decimal places and so forth).
Comment 1 Rob Church 2006-03-06 07:30:12 UTC
That method isn't too reliable, since $5, $6 might be used for something else in
the future.
Comment 2 Enoch Lau 2006-03-15 00:27:46 UTC
Perhaps we could mark off an entire range (e.g. $40-$49) where the last digit
refers to the number of decimal places.

Alternatively, could $4 be changed to round off to a certain number of
significant figures instead of decimal places?
Comment 3 Nakon 2008-12-08 23:30:31 UTC
Special:Statistics appears to have been redesigned and this message is no longer used on the page.

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