Anomie added a comment.

The pretty-printed JSON I see on 
https://www.mediawiki.org/wiki/Wikibase/API#wbgetentities is all in the output 
from the examples, which will already be pretty-printed when the user actually 
clicks on it to see that output (e.g. here 
<https://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=Death_Star&props=labels&languages=nn>).
 Where JSON is occurring in the request URIs, I see no pretty-printing going on 
on that page.

I see some of the pseudo-examples don't even bother with a URI, and just show 
the query parameters as either a partial PHP array or partial JSON object 
format, but even there the JSON blobs being passed as parameters are strings 
rather than being pretty-printed.

Or are you trying to say you want to //add// pretty-printing to the JSON blobs 
in the URI parameters?


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

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

To: Anomie
Cc: Anomie, Ricordisamoa, Qgil, Lydia_Pintscher, aude, daniel, Spage, Lucie, 
Addshore, Christopher, Aklapper, Wikidata-bugs, Ltrlg



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to