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&sites=enwiki&titles="; 
+ s1 + "&languages=en&format=json";
  url1 = encodeURI(url1);
  print(url1);
  
  var httpclient = require('ringo/httpclient');
  var result = httpclient.get(url1);
  var s1 = result.content;
  print(s1);

TASK DETAIL
  https://phabricator.wikimedia.org/T250618

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Greg.collver
Cc: Reedy, Aklapper, Greg.collver, Liuxinyu970226, darthmon_wmde, Nandana, 
Lahi, Gq86, Darkminds3113, GoranSMilovanovic, QZanden, LawExplorer, Vali.matei, 
_jensen, rosalieper, Scott_WUaS, Jonas, Volker_E, Wikidata-bugs, aude, GWicke, 
Dinoguy1000, Lydia_Pintscher, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to