Page MenuHomePhabricator

Add 'number of files' to statistics (and 'raw' statistics)
Closed, ResolvedPublic

Description

Author: webmaster

Description:
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)


Version: unspecified
Severity: enhancement
URL: http://www.marveldatabase.com/wiki/index.php/Special:Statistics?action=raw

Details

Reference
bz5372

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:09 PM
bzimport set Reference to bz5372.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Added in CVS HEAD.

Wiki.Melancholie wrote:

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?

robchur wrote:

(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.