[Wikidata-bugs] [Maniphest] [Commented On] T250618: Trouble accessing wikidata JSON pages

2020-04-19 Thread Greg.collver
Greg.collver added a comment. It works fine for me from in the browser also, but it fails when I use the javascript code shown at the bottom of the report. This javascript code is ran from the command line. TASK DETAIL https://phabricator.wikimedia.org/T250618 EMAIL PREFERENCES https

[Wikidata-bugs] [Maniphest] [Commented On] T250618: Trouble accessing wikidata JSON pages

2020-04-19 Thread Greg.collver
Greg.collver added a comment. evidently a recent change to the wikidata server software and it now requires URIencoding, this seems to work ok: var s1 = "Krüppel"; var url1 = "https://www.wikidata.org/w/api.php?action=wbgetentities=enwiki=; + s1 + "=en=json&