Page MenuHomePhabricator pageviews csv now redirecting to eventmetrics forbidden
Closed, ResolvedPublic


Hey all,

Until about a week ago,{lang}{project}.csv used to be an open URL that gave a full list of pageviews for a particular language and project.

It seems to have turned into a redirect to the tool (which looks cool). Unfortunately eventmetrics seems to be requiring OAuth-based login for all pages (maning we get a 403), and upon login, eventmetrics does not appear to be offering that data.

Is there a migration path for csv pageview data? (this is affecting

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Hi @mahmoud, we'd like to help you find a solution here. But we were surprised you're still using the wikimetrics link. Can you transition to using the pageview API that @MusikAnimal mentioned? Here's an example:

Unless you were getting something else out of those csv files? Can you specify?

Milimetric moved this task from Incoming to Ops Week on the Analytics board.
jmatazzoni added a subscriber: jmatazzoni.

This is not really something that the Event Metrics team can take on. I'm removing that tag..

I've got a version of the code going off of the rest_api now. The code's not running exactly the same, but that could be on me.

As for the why, I'm not the original implementer of this part, but I'm assuming we adopted the new pageviews API before total views per project was available, and that's why we fell back to CSV.

Anyways, I'll be closing this now, thanks for everyone's help!