Last modified: 2010-05-15 14:36:16 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 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