T43327: Add page views graph(s) to MediaWiki's info action for Wikimedia wikis

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

T43327: Add page views graph(s) to MediaWiki's info action for Wikimedia wikis

Legoktm
Hi!

(I meant to send this out earlier but got distracted by other things :()

At the Wikimedia developer summit, Addshore and I started working on a
MediaWiki extension to resolve T43327[1], which asked for page view
graphs to be added to action=info. The "WikimediaPageViewInfo"[2]
extension has passed a security review, and should be deployed soon™.

If you want to try it out, there's a test wiki[3] which uses the
pageview data for en.wp.

And for updates on the deployment status, please follow T125917[4].

[1] https://phabricator.wikimedia.org/T43327
[2] https://www.mediawiki.org/wiki/Extension:WikimediaPageViewInfo
[3] http://bf-wmpageview.wmflabs.org/wiki/Taylor_Swift?action=info
[4] https://phabricator.wikimedia.org/T125917

-- Legoktm

_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: T43327: Add page views graph(s) to MediaWiki's info action for Wikimedia wikis

Yuri Astrakhan-2
he.wiki has already enabled it by inserting Graph:PageViews template into
the info template, but yours does look cleaner. The graph will show only if
you did not modify your interface language in the Hebrew wiki, or if you
are not logged in.

https://he.wikipedia.org/w/index.php?title=%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99&action=info

One thing that concerns me though - you seem to get all the Vega and d3
code and graph data during the page load, yet you only show the graph on
click. Seems to take a lot of extra time and very wasteful. Also, it
doesn't work for older browsers.

On Fri, Mar 11, 2016 at 4:33 AM, Legoktm <[hidden email]>
wrote:

> Hi!
>
> (I meant to send this out earlier but got distracted by other things :()
>
> At the Wikimedia developer summit, Addshore and I started working on a
> MediaWiki extension to resolve T43327[1], which asked for page view
> graphs to be added to action=info. The "WikimediaPageViewInfo"[2]
> extension has passed a security review, and should be deployed soon™.
>
> If you want to try it out, there's a test wiki[3] which uses the
> pageview data for en.wp.
>
> And for updates on the deployment status, please follow T125917[4].
>
> [1] https://phabricator.wikimedia.org/T43327
> [2] https://www.mediawiki.org/wiki/Extension:WikimediaPageViewInfo
> [3] http://bf-wmpageview.wmflabs.org/wiki/Taylor_Swift?action=info
> [4] https://phabricator.wikimedia.org/T125917
>
> -- Legoktm
>
> _______________________________________________
> Wikitech-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: T43327: Add page views graph(s) to MediaWiki's info action for Wikimedia wikis

David Cuenca Tudela
I also find that it is quite hidden, wouldn't it be better to show it by
default? As it is now there is no hint that the link will open the graph.

Cheers,
Micru

On Fri, Mar 11, 2016 at 2:59 AM, Yuri Astrakhan <[hidden email]>
wrote:

> he.wiki has already enabled it by inserting Graph:PageViews template into
> the info template, but yours does look cleaner. The graph will show only if
> you did not modify your interface language in the Hebrew wiki, or if you
> are not logged in.
>
>
> https://he.wikipedia.org/w/index.php?title=%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99&action=info
>
> One thing that concerns me though - you seem to get all the Vega and d3
> code and graph data during the page load, yet you only show the graph on
> click. Seems to take a lot of extra time and very wasteful. Also, it
> doesn't work for older browsers.
>
> On Fri, Mar 11, 2016 at 4:33 AM, Legoktm <[hidden email]>
> wrote:
>
> > Hi!
> >
> > (I meant to send this out earlier but got distracted by other things :()
> >
> > At the Wikimedia developer summit, Addshore and I started working on a
> > MediaWiki extension to resolve T43327[1], which asked for page view
> > graphs to be added to action=info. The "WikimediaPageViewInfo"[2]
> > extension has passed a security review, and should be deployed soon™.
> >
> > If you want to try it out, there's a test wiki[3] which uses the
> > pageview data for en.wp.
> >
> > And for updates on the deployment status, please follow T125917[4].
> >
> > [1] https://phabricator.wikimedia.org/T43327
> > [2] https://www.mediawiki.org/wiki/Extension:WikimediaPageViewInfo
> > [3] http://bf-wmpageview.wmflabs.org/wiki/Taylor_Swift?action=info
> > [4] https://phabricator.wikimedia.org/T125917
> >
> > -- Legoktm
> >
> > _______________________________________________
> > Wikitech-l mailing list
> > [hidden email]
> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l
> _______________________________________________
> Wikitech-l mailing list
> [hidden email]
> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>



--
Etiamsi omnes, ego non
_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Reply | Threaded
Open this post in threaded view
|

Re: T43327: Add page views graph(s) to MediaWiki's info action for Wikimedia wikis

Cristian Consonni
In reply to this post by Legoktm
Hi,

2016-03-11 2:33 GMT+01:00 Legoktm <[hidden email]>:

> (I meant to send this out earlier but got distracted by other things :()
>
> At the Wikimedia developer summit, Addshore and I started working on a
> MediaWiki extension to resolve T43327[1], which asked for page view
> graphs to be added to action=info. The "WikimediaPageViewInfo"[2]
> extension has passed a security review, and should be deployed soon™.
>
> If you want to try it out, there's a test wiki[3] which uses the
> pageview data for en.wp.
>
> And for updates on the deployment status, please follow T125917[4].

2016-03-11 2:59 GMT+01:00 Yuri Astrakhan <[hidden email]>:
> https://he.wikipedia.org/w/index.php?title=%D7%A2%D7%9E%D7%95%D7%93_%D7%A8%D7%90%D7%A9%D7%99&action=info

as part of my research at University of Trento, with a M.Sc. that I am
tutoring we have produced a dataset with the pageviews for all of 2014
for all projects in all languages sorted by page from the raw pageview
data[1].

The dataset is available via torrent, you can find more info here:
http://disi.unitn.it/~consonni/datasets/wikipedia-pagecounts-sorted-by-page-year-2014/

These data take into account also the redirects.

I am in touch with Aaron Halfaker and Dario Taraborelli from the
Research and Analytics team, but since I saw this news here I though
that it was worth mentioning it.

If there is interest in integrating this data for example in a
visualization/API as the one that Yuri has linked I think I could
obtain the resource needed from my university to complete the analysis
for other periods. The main problem we have now is storage (also
transferring the datasets is not completely trivial).

Ciao,

Cristian

_______________________________________________
Wikitech-l mailing list
[hidden email]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l