Last modified: 2010-05-15 14:36: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 T7372, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5372 - Add 'number of files' to statistics (and 'raw' statistics)
Add 'number of files' to statistics (and 'raw' statistics)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.marveldatabase.com/wiki/in...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-27 15:41 UTC by Jamie Hari
Modified: 2010-05-15 14:36 UTC (History)
0 users

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


Attachments

Description Jamie Hari 2006-03-27 15:41:27 UTC
The 'raw' statistics page exists to provide something nice and easy to grep for
data...
(http://www.marveldatabase.com/wiki/index.php/Special:Statistics?action=raw)

Could we add the 'number of files' as well? 
It should output the same number as the magic-word {{NUMBEROFFILES}}.

In fact, shouldn't this figure also be included on the (regular) formatted
statistics page as well?
(http://www.marveldatabase.com/wiki/index.php/Special:Statistics)
Comment 1 Rob Church 2006-03-27 23:45:34 UTC
Added in CVS HEAD.
Comment 2 Melancholie 2006-03-28 11:00:13 UTC
On http://en.wikipedia.org/wiki/Special:Statistics?action=raw the 
parameter "images" is empty, but not at
http://ksh.wikipedia.org/wiki/Special:Statistics?action=raw for 
example. Is this some kind of cache effect? Or is this a bug?
Comment 3 Rob Church 2006-03-28 14:42:11 UTC
(In reply to comment #2)

Tim Starling added another column to the statistics table to store the number of
images, since the previous method was somewhat expensive, and updated the new
code I added plus some existing stuff to use it. I'll wager this column hasn't
been updated for the larger wikis yet, causing the missing data.

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


Navigation
Links