Last modified: 2014-09-26 01:21:43 UTC
It would be nice to have a graph/graphs of page views over time in MediaWiki's info action.
I talked to David S. about this earlier today. The problem currently is that this data simply isn't available (yet). The analytics infrastructure simply isn't there (yet!). I think we'll see a usable API by the end of 2013. In the meantime, this gives us a bit over a year to get the feature request we do already have data for (bug 41329, "Add edit history graph(s) to MediaWiki's info action") implemented nicely (sanely). :-) This bug is going to be open for a bit, even though it's not really directly actionable right now.
Well, there's no way this can be done on server-side, because that would mess up Squid caching completely. The only option would be to some sort of JavaScript that reports back to the server, which would then enqueue a Job. I would guess the actual DB update would only occur after a certain number of views. The only problem is that jobs are stored in the database, so it would mean a query anyway, so there may just have to be a separate caching mechanism.