Basically, if you make an API with the same spec as our pageview API, https://wikitech.wikimedia.org/wiki/Analytics/AQS/Pageviews, you don't have to replicate any of the other systems.  It's just a REST interface, it can be implemented in any language/framework fairly quickly.  So do that, then put the pageviews tool on top of it, done.

On Wed, Mar 7, 2018 at 11:04 AM, Marcel Ruiz Forns <mforns@wikimedia.org> wrote:
Hi Reception123,

I assume you talk about this tool: https://tools.wmflabs.org/pageviews.
It's an opensource project hosted in https://github.com/MusikAnimal/pageviews.
However, it uses Analytics Query Service[1] as a data source, which, as Nemo indicates,
is populated by a pipeline of complex systems.

Not sure there's a way to make it work for a non-WMF wiki...
Unless you create your own statistics data source and make the page views tool consume it.

Maybe someone has an idea? But I'm pessimistic :/

[1] https://wikitech.wikimedia.org/wiki/Analytics/Systems/AQS

On Tue, Mar 6, 2018 at 7:25 AM, Reception123 . <utilizator.receptie123@gmail.com> wrote:
Hello,

I was wondering how one could install and use the "Page Views" tool that Wikimedia uses, on a non-WMF wiki.

Reception123

_______________________________________________
Analytics mailing list
Analytics@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics




--
Marcel Ruiz Forns
Analytics Developer
Wikimedia Foundation

_______________________________________________
Analytics mailing list
Analytics@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/analytics