Last modified: 2014-11-17 10:36:26 UTC
It would be nice to have a graph/graphs of edits over time in MediaWiki's info action.
Zak Greant wrote a Greasemonkey script "MediaWiki history Sparklines" which we might want to integrate: http://userscripts.org/scripts/show/79234 That would be a nice experiment, can most probably be implemented as a Gadget too.
(In reply to comment #1) > Zak Greant wrote a Greasemonkey script "MediaWiki history Sparklines" which we > might want to integrate: > > http://userscripts.org/scripts/show/79234 Neat! > That would be a nice experiment, can most probably be implemented as a Gadget > too. Hmm, maybe. The nice thing here is that we have all of the data already (edit timestamp, page title) and it's indexed. The not-so-nice thing here is that the edge cases are a bit rough. Some pages have over 600,000 revisions. Zak's user script is hitting the API. For small pages, this is fine. For large pages, this is probably impractical. If this feature were implemented as an extension, it could do direct queries on the database to get the underlying data and/or use a cache store/database table for larger pages.
https://gerrit.wikimedia.org/r/31603 Just a draft. If anybody can come up with a better way to draw graphs other than a jQuery extension, please do. I figured a JavaScript dependency would be easier to manage than a PHP dependency. Also, it should be noted this is a bit of a draft. There is some polishing that can be done to make the graph look better.
-easy: given the discussion on commit doesn't seem so at all.
Wondering whether to move this to Extension requests too, as per dependency on bug 43666?
Patch abandoned in April 2013, resetting to New.