Last modified: 2010-05-15 16:03:30 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 T15931, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13931 - Divide by 0 error possible on SpecialStatisics.php
Divide by 0 error possible on SpecialStatisics.php
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.13.x
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
http://svn.wikimedia.org/viewvc/media...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-02 20:20 UTC by Christian Neubauer
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

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


Attachments

Description Christian Neubauer 2008-05-02 20:20:02 UTC
The line that formats the percentage of admins in SpecialStatistics.php divides by the number of users without first checking that it isn't 0.  On the off chance that someone has a wiki with no users, this will throw an error.
Comment 1 Aaron Schulz 2008-05-02 20:22:23 UTC
Fixed in r34136

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


Navigation
Links