Topic on Talk:Wikistats 2.0 Design Project/RequestforFeedback/Round2

Jump to navigation Jump to search
MichaelMaggs (talkcontribs)

I can see that with the availability of very attractive and data-rich graphs, users are going to want to embed them as clickable images in non-article namespaces such as user pages, WikiProject pages, help pages, discussion venues and the like. Would it be possible to provide some sort of new interwiki link that could be used to pull up a specific stored version of a graph at a variable size? This would of course display just the graph itself, and not the remainder of the webpage that the user would see when viewing the same graph on the main statistics site.

Something like [[SpecialNewLink1234 | thumb | right | 250px]].

Either the graph could update automatically when the page is loaded or - as that may be too slow - some OnClick-type mechanism could be provided to allow users to force an update as needed.

I understand that that may be one for further down the line.

Milimetric (WMF) (talkcontribs)

I feel strongly that this should exist, but so far it's been the Graph extension that provides this functionality: https://www.mediawiki.org/wiki/Extension:Graph. We can work together to make some templates that hook up Graph extension graphs to the new API we're building (there are already pageview API-consuming graph templates so it won't be very hard).

The graphs themselves on wikistats will be bookmark-able, but to embed them we'd have to duplicate functionality with the Graph extension, so that one needs more thought. One of my longer term goals at the foundation is to shift more focus on rich content creation, like Yuri described in https://meta.wikimedia.org/wiki/User:Yurik/I_Dream_of_Content. But that's outside the scope of the Analytics team.

Milimetric (WMF) (talkcontribs)
Reply to "Quick link to an on-wiki view"