User talk:Yurik/Flow Archive 1

About this board



Hello, I am not here right now, but if you leave me a message, I will try to reply as soon as possible. Thank you, and have a nice day.

My other talk pages are en:Yurik and ru:Yurik.


"Please upgrade to Vega 2.0"

8
AKlapper (WMF) (talkcontribs)

Hi Yuri, in https://www.mediawiki.org/w/index.php?title=Community_metrics&type=revision&diff=1963416&oldid=1963415 you wrote "Please upgrade to 2.0" without any further information. I found https://github.com/vega/vega/wiki/Upgrading-to-2.0 at some point but setting "version":2 on one single graph only makes all graphs vanish, even those that still have "version":1 set. Hence no idea how to actually test changes.

Yurik (talkcontribs)
Yes, that's the limitation of Vega - we cannot have multiple different vega versions in "preview" mode at the same time. Once saved, they can actually be different because Graphoid renders each individually. I outlined some migration steps here. My recommendation - simply go one graph at a time, and ignore the fact that the older graphs don't show up in the preview. Also, see Graph Guide for some debugging ideas.
AKlapper (WMF) (talkcontribs)
Yurik (talkcontribs)

I think your "filter" transform is broken for the text labels - if you remove that line, it shows for me, but repeats on every data point. Have you considered using GraphChart for it?

AKlapper (WMF) (talkcontribs)

I did not know of GraphChart and I'm lost about all those graph options that seem to be around in Wikimedia and which one to use in which situation. Link welcome which explains when to use which one. (As a simple user I'd like to render a graph without having to read lots of documentation which might miss direct rendered examples for my case, because otherwise I'll just use LibreOffice or Excel and throw a PNG over the wall that noone else can easily update. We probably want to avoid that.) Regarding the filter transform, I guess that some line like "test": "datum.x = Sep2015" or "datum.date = Sep2015" is missing but I have no idea how to do a string comparison by accessing a certain value of the data defined on top.

Yurik (talkcontribs)

GraphChart template is a relatively recent addition, made by a dewiki contributor and later copied to a number of other wikis. I find it much easier to use than constructing a Vega syntax myself.

Yurik (talkcontribs)

Upgraded Community metrics to use GraphChart for everything except the line graph - that one was slightly more complex, pending GraphChart code update.

AKlapper (WMF) (talkcontribs)

Oh whou. Thank you a lot, Yurik!

Reply to ""Please upgrade to Vega 2.0""

Where is the content about maps/osm?

3
187.59.246.94 (talkcontribs)

Hey, Yuri! I don't know where to find content covering the project to host OSM stuff in Wiki-environment, you showed me some demos during Wikimania.

удачи

All is love love (talkcontribs)

By the way, this is Jonas

Yurik (talkcontribs)
Reply to "Where is the content about maps/osm?"

Notice about your Wikimania 2013 submission

3
Varnent (talkcontribs)

Thank you for participating in the Wikimania 2013 proposal submission process! Upon review, I noticed that your submission is not yet complete. While you may already be aware of that, I wanted to provide a gentle reminder that you have until the submission deadline, 30 April 2013, to review the submission guidelines and complete your proposal if you wish. You may contact the programme committee if you would like assistance.

Yurik (talkcontribs)

Thanks Varnent, I will try to get to it in the next few days - my other projects have been demanding too much of my time.

The Anonymouse (talkcontribs)
Larus ridibundus (talkcontribs)

Good evening!
I am writing to you regarding API since I saw your contribution regarding the topic.
I just wanted to if it is possible to run this query in a insensitive way (ususers=KANAKUKK or kanaKUKK etc) or do you happen to know, who could I ask this question?
Yours sincerely,
Kanakukk (talk) 20:38, 21 February 2013 (UTC).

Yurik (talkcontribs)

I do not believe it is possible with the present API.

Graph extension problems

6
Resident Mario (talkcontribs)
Yurik (talkcontribs)

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!

Resident Mario (talkcontribs)

I can't. When I attempt to log in with OAuth I just get an ironically blank screen.

I've traced the issue. The following user-script line breaks it: $(document).ready(function(){document.editform.wpSummary.value+=" Δ";});

This is a little bit of code someone else wrote for me so that I didn't have to deal with edit summaries. Sad to see it go...but at least this doesn't look like a larger issue.

Yurik (talkcontribs)

Maria, are you saying that you have a custom hack that prevents you from logging in? Try this change, but i'm not sure you should be avoiding edit summary - they are there for a good reason.

$(document).ready(function(){if(document.editform && document.editform.wpSummary && typeof document.editform.wpSummary.value !== 'undefined') document.editform.wpSummary.value+=" Δ";});
Resident Mario (talkcontribs)

Another q: when I first created that graphic hovering over it produced a red outline, per the hover attribute. It no longer seems to do that; how come?

Yurik (talkcontribs)

Yes, hover is only available if they render on the client, but I had to turn it off because it took too long to load it - the vega libs are too large, and browsers with the bad connection take forever to get all the needed libs and data to render it. So for now, no hover :(

Reply to "Graph extension problems"

quick question on graph

3
Arnaugir (talkcontribs)

Hello, just a quick question (I don't know where else to ask). Is it possible to somehow modify the attributes of an "arc" graph so it is not a complete circle but a semicircle? My guess is that it is not possible (at the moment), but it's worth asking :-) Cheers

Arnaugir (talkcontribs)

Well yes... it is indeed possible . Sorry for bothering :)

Yurik (talkcontribs)

Hi, just got to the computer. Impressive graph! I would love to help in general, but i am not very good at those - I know only very basics of the graphs itself - the knowledge of the vega language was not needed to bring it to Wikipedia :) In general, they have a mailing list/google group that you can post to, usually someone would reply... eventually :) Or we should start a big help system/known solutions in mw:Extension:Graph/Help or some other place like that (someone even created a stub at w:en:Help:Graph. Other ideas i had so far: You can host data on commons and reference it directly from graphs as action=raw links, you can use Lua to parse (local only) data and pass it as a parameter into a graph, where graph is done as a template with a parameter. I will experiment and demo a few of these approaches at some point. Hope it works well for you! Good luck :)

Reply to "quick question on graph"
There are no older topics