User talk:Yurik/Archive 2015

Latest comment: 8 years ago by Yurik in topic Graph 2.0 Migration


Graph extension

Hi, the graph extension on MediaWiki has suddenly stopped working. It still loads the graph on page edit, but does not do so when viewing the page. Here is what I mean. ResMar 16:10, 25 April 2015 (UTC)

Mario, thanks for the report, please file a bug in phabricator - its very hard to track things in multiple places. Also, try to do a full page refresh, and note which browser/version you are using. Thanks! --Yurik (talk) 14:20, 28 April 2015 (UTC)
I do not have an account; more to the point I appear not to be able to create one at this time either, as attempting to "Login or Register---Mediawiki" results in the page timing out. I'll try again later, I guess. ResMar 17:19, 6 May 2015 (UTC)
Surely I must be doing something wrong---I get a blank OAuth screen. ResMar 04:36, 7 May 2015 (UTC)
Not sure what issues you run into - simply go to phabricator, and either create a new account, or click the button <login or register MediaWiki> at the bottom. --Yurik (talk) 08:52, 7 May 2015 (UTC)
ResMar, I have not heard any other reports of this, and the page opens fine in both FireFox and Chrome. You still should create a phabricator account to report any kinds of bugs, but in the mean time - could you tell me what browser / version you are using? --Yurik (talk) 08:58, 7 May 2015 (UTC)

WMHack Lyon

Hi Yurik ! I've been very pleased to meet you yesterday at the Lyon Hackathon, and to learn about your amazing work on the Graph extension and on OSM vector maps. I've just subscribed to maps-i mailing list, and I hope to see news there soon, and maybe to be of some help. Best regards, GAllegre (talk) 17:32, 24 May 2015 (UTC)

@GAllegre: likewise! Thanks, although I don't think we have been publishing anything on the maps mailing list at this point - not much to discuss yet - we mostly use phabricator for all the issue tracking. What area would you like to participate in? There is always plenty of things do :)) --Yurik (talk) 21:44, 24 May 2015 (UTC)

Graph (I)

Dear Yurik,
I got a small question about graphs. I tried out a small one with bars, here. The template used percentage values for the Y axis, from 0 to 100. How do I change that to absolute values so that the top of the Y axis is 18.000?
Thanks a lot for any hint, and kind regards, Grueslayer   Let's talk. 04:32, 30 May 2015 (UTC)

@Grueslayer:, not sure actually - I am far from an expert in the actual Vega grammar - as I was mostly doing integration with our infrastructure, not the actual graphing. The axes doc might be able to help, or I suspect you you need to simply remove the percentage transformation. I will try to look at it again in a bit to see if something occurs to me. --Yurik (talk) 16:28, 30 May 2015 (UTC)
Hi Yurik, I found an example that does not use percentage. Thanks for the link to the axis doc! Kind regards, Grueslayer   Let's talk. 06:23, 31 May 2015 (UTC)

Graph (II)

Dear Yurik,

we need better teaching material for <graph>/Vega. Most of the examples in the Internet are for js (e.g. M. Bostocks Repository) and the official Tutorial is only for bar charts. Vega allows much more than the Template:GraphChart does, but it's too difficult to find example code.--Kopiersperre (talk) 14:21, 19 June 2015 (UTC)

  Kopiersperre: I agree with you 100% - Vega needs much better documentation than the tutorial - vega.github.io contains tons of resources, but none of them really help in learning the new "programming language" called Vega. I have started a guide, but it still needs a lot of work. I would recommend taking examples from the Vega editor's page, copying them to MediaWiki, and documenting them line by line. Those examples is how most people get started, so having a well-documented example is probably much better than just viewing it in the editor. Help needed :) --Yurik (talk) 05:20, 22 June 2015 (UTC)
I'm a pure user, and probably can't help you much. But I've discovered a tool called vincent, A Python to Vega translator. It works like this:
import vincent

farm = {'apples': 10, 'berries': 32, 'squash': 21, 'melons': 13, 'corn': 18}
piechart = vincent.Pie(farm)
piechart.legend('Test')
piechart.to_json('vega.json') #vega.json then contains a working <graph>.
With vincent I can quickly generate the plot I want without the need to fine-tune many values.--Kopiersperre (talk) 20:07, 22 June 2015 (UTC)
  Kopiersperre: Thanks, I saw this tool earlier, but we should probably add it to the documentation as well )) Also, take a look at Lyra - a full featured editor (write only, does not allow loading yet) of the graphs. --Yurik (talk) 08:34, 23 June 2015 (UTC)

Maps

Hi, thanks for message. The aim of your project seems worthy to me, although I have no expertise in this area. I make maps for bird FAs because it's effectively a requirement, and any additions or changes are likely to be very rare (I wouldn't redo a map because of a country border change because it's not important in this context, and a map without borders would be just as adequate). I can see that it could be much more useful for other subject areas or projects, and it's difficult to see why anyone would object, so good luck with your plan Jimfbleak - talk to me? 06:35, 18 November 2015 (UTC)

ArbCom elections are now open!

Hi,
You appear to be eligible to vote in the current Arbitration Committee election. The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to enact binding solutions for disputes between editors, primarily related to serious behavioural issues that the community has been unable to resolve. This includes the ability to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail. If you wish to participate, you are welcome to review the candidates' statements and submit your choices on the voting page. For the Election committee, MediaWiki message delivery (talk) 12:58, 23 November 2015 (UTC)

A cup of tea for you!

  rtwertz Gyuszika120 (talk) 16:35, 2 January 2015 (UTC)
Thanks Gyuszika120! Took me a while to notice ))) --Yurik (talk) 13:56, 15 December 2015 (UTC)

Graph 2.0 Migration

Because the graph extension is not widely used, please be more informative in your edit about Vega, at least leave a link to the doc explaining the transition from old version. -- Sameboat - 同舟 (talk · contri.) 05:56, 15 December 2015 (UTC)

@Sameboat: thanks for the note, I should have added a link. Please see Vega 2.0 info page. Thanks! --Yurik (talk) 14:03, 15 December 2015 (UTC)