Page MenuHomePhabricator

characterEditStats.php: allow --days > $wgRCMaxAge by using revision table
Closed, ResolvedPublic

Description

As clarified in https://gerrit.wikimedia.org/r/119482 , the script uses RC, which limits time period available. It would be nice to fallback to revision table when needed, to further enhance T60440: Run characterEditStats.php regularly on Translate wikis and publish output somewhere.

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 3:02 AM
bzimport set Reference to bz62833.
bzimport added a subscriber: Unknown Object (MLST).

Change 213308 had a related patch set uploaded (by Nemo bis):
characterEditStats.php: allow using the revision table

https://gerrit.wikimedia.org/r/213308

We are trying to help all open tasks listed under "Work continues after Lyon" at the Wikimedia Hackathon 2015 workboard finding their best way forward. * If you are participating in Wikimania, consider adding the #Wikimania-Hackathon-2015 project to get this task in that loop, which is about to start. * If you think this project could welcome help from a dedicated Google Summer of Code or Outreachy intern, or from an Individual Engagement Grant, add the Possible-Tech-Projects project. * If you would like to receive some other type of support (organizing a Tech Talk, establishing contacts with existing developer teams in Wikimedia or elsewhere, travel sponsorship for a related activity... you name it), please create a subtask explaining your request and associate it with #Engineering-Community (or you can start by commenting here if you prefer). * Keeping the description, priority and assigned fields up to date always helps. :) For some context about this message, see T101151: Evaluate which projects showcased at the Wikimedia Hackathon should be supported further. It is the last communication related to Wikimedia-Hackathon-2015 that we will post here.

Change 295735 had a related patch set uploaded (by Nemo bis):
[WIP] Add custom query to characterEditStats.php when $wgRCMaxAge is too low

https://gerrit.wikimedia.org/r/295735

I am adding to the sprint since I already started working on this. I need review for the patch https://gerrit.wikimedia.org/r/#/c/295735/

Change 213308 abandoned by Nikerabbit:
characterEditStats.php: allow using the revision table

Reason:
Ib830b6b888eb4fc048c4a3a74c30e82096a372c2 is a better one.

https://gerrit.wikimedia.org/r/213308

Change 295735 merged by jenkins-bot:
characterEditStats.php: simplify and support date ranges past $wgRCMaxAge

https://gerrit.wikimedia.org/r/295735

Nemo_bis raised the priority of this task from Lowest to Medium.Aug 29 2016, 9:03 AM