Jump to content

User talk:Yurik/Archive 2020

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 2015Archive 2018Archive 2019Archive 2020Archive 2021

Graph extension with external data

Hi Yurik,

I used a graph from the Vega example and add it to my MediaWiki page and it works, I have replaced in the "data": section the "values": part with the

"data": [

        { 
          "name": "table",
          "url": "http://wiki.xxxxx.com/docs/ReleaseManagement/GraphTest.json"
         }
       ],

Or

"data": [

         { 
          "name": "table",
          "url": "wikiraw:///wiki.xxxxx.com/docs/ReleaseManagement/GraphTest.json"
         }
       ],


The data is not presented. I took the " values" section from the example file and created a Json file, the file is reachable, I am reading the data using the #get_web_data:url=http....... and it works.

Do you have any idea why it isn't working? Do I have to add another extension to the MediaWiki so it will work? Thanks in advance for your help, Shalom

You should use unsafe mode to allow "url": "https://..." params. To get wikiraw you may need to modify some code as it is much more involved (it dynamically converts "wikiraw:/..." to "http" --Yurik (talk) 17:07, 3 May 2020 (UTC)


I added support to https to the server and got

The error that I see on in the console :

[Vega Err] Error: URL hostname is not whitelisted: https://wikitest/mw/docs/ReleaseManagement/GraphTest.json

This is what i tried to add in the LocalSettings.php of the MediaWiki : $wgGraphAllowedDomains = [ 'wikiraw' => [ 'wikitest' ], 'https' => [ 'wikitest' ] ]; wfLoadExtension( 'Graph' ); $wgGraphIsTrusted = true;

i've tried to replace https with wikiraw in the page source instead of https, same issue:

"url": "https://wikitest/mw/docs/ReleaseManagement/GraphTest.json",

weird thing is, part of your data is showing in the graph that is rendered

Thanks, Shalom

Symposium on Wikipedia and COVID-19 (May 9)

You are invited to join the Wikimedia NYC community for a Symposium on Wikipedia and COVID-19, which aims to answer questions the public may have about Wikipedia's coverage of the pandemic. The event includes four speakers, all of whom are active contributors to the topic area on Wikipedia, but bring different perspectives, backgrounds, and interests. The event is free and open to the public, broadcast live on YouTube and Facebook, and questions taken from viewers on these platforms. Abstracts and speaker bios are available on the event page.

Symposium on Wikipedia and COVID-19

Saturday May 9, 6:00PM - 8:00PM EST (22:00 - 24:00 UTC)

online via YouTube and Facebook

(You can subscribe/unsubscribe from future notifications for NYC-area events by adding or removing your name from this list.)

--Wikimedia New York City Team 14:48, 5 May 2020 (UTC)

May 20, 7pm: ONLINE WikiWednesday Salon NYC

You are invited to join the Wikimedia NYC community for our monthly "WikiWednesday" evening salon (7-8pm) and knowledge-sharing workshop. This month, as part of Wikimedia NYC's commitment to the well-being of members, we will hold WikiWednesday online via Zoom videoconferencing! To join the meeting from your computer or smartphone, just visit this link. More information about how to connect is available on the meetup page.

We look forward to seeing local Wikimedians, but would also like to invite folks from the greater New York metropolitan area (and beyond!) who might not typically be able to join us in person!

This month, we'll focus on WikiProject New York City and our favorite local articles, as well as Wiki Loves Pride past and future.

Is there a project you'd like to share? A question you'd like answered? A Wiki* skill you'd like to learn? Let us know by adding it to the agenda.

7:00pm - 8:00 pm online via Zoom (optional breakout rooms from 8:00-8:30)

We especially encourage folks to add your 5-minute lightning talks to our roster, and otherwise join in the "open space" experience! Newcomers are very welcome! Bring your friends and colleagues!

(You can subscribe/unsubscribe from future notifications for NYC-area events by adding or removing your name from this list.)

--Wikimedia New York City Team 16:00, 18 May 2020 (UTC)