Page MenuHomePhabricator

add page views per day to Popularpages
Closed, ResolvedPublic

Description

Author: dev

Description:
Please add "Page views per day" to Special:Popularpages or
Special:Statistics. You can use my patch.


Version: 1.7.x
Severity: enhancement

Details

Reference
bz6689

Event Timeline

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

dev wrote:

adds page views per day to Popularpages

Or tell me how I can check this in.

attachment patch.diff ignored as obsolete

jimmy.collins wrote:

You should provide patches in unified format: diff -u ...

dev wrote:

unified patch to add page views per day to Popularpages

Attached:

This doesn't look like it would work on Postgres since it uses MySQL-specific SQL functions.
Use MediaWiki's timestamp-handling functions for compatibility.

dev wrote:

just a note for myself: You can take over the code from
SpecialAncientPages.php

jsalsman wrote:

brion: "patch looks like it just gives you an average over the entire existence period of the article (which may be wildly inaccurate), and probably is horribly inefficient"

*** This bug has been marked as a duplicate of bug 21921 ***