Last modified: 2008-12-08 23:30:31 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 T7095, the corresponding Phabricator task for complete and up-to-date bug report information.
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...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://en.wikipedia.org/wiki/Special:...
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links