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.
User talk:Yurik/Flow Archive 1
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.
I've followed https://github.com/vega/vega/wiki/Upgrading-to-2.0 and used http://vega.github.io/vega-editor/?mode=vega to fix syntax errors. All graphs on mw:Community_metrics were trivial except for one I cannot get to work in Vega v2. Help (edits) welcome on my Sandbox: https://www.mediawiki.org/wiki/User:AKlapper_%28WMF%29/Sandbox#Active_Gerrit_code_review_users_per_month - after sorting out that one I can port them all on the "real" page in one go... Thanks. :-/
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?
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.
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.
Upgraded Community metrics to use GraphChart for everything except the line graph - that one was slightly more complex, pending GraphChart code update.
Oh whou. Thank you a lot, Yurik!
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.
удачи
By the way, this is Jonas
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.
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.
No rush - you have plenty of time. :)
Hello, User talk:Yurik. You have new messages at d:User talk:The Anonymouse#Property:P107
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).
I do not believe it is possible with the present API.
I left you a message here. Resident Mario (talk) 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!
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.
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+=" Δ";});
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?
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 :(
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
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 :)