Page MenuHomePhabricator

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


Author: webmaster

The 'raw' statistics page exists to provide something nice and easy to grep for

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?

Version: unspecified
Severity: enhancement



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 the
parameter "images" is empty, but not at 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.