JanZerebecki added a comment.
Yes it should get that information from the key wikibase-sparql in the result of https://www.wikidata.org/w/api.php?action=query&meta=siteinfo&siprop=general . On test.wikidata that key does not exist, then it should probably throw an exception or return an error in some way. TASK DETAIL https://phabricator.wikimedia.org/T135241 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: JanZerebecki Cc: Smalyshev, JanZerebecki, Aklapper, Zppix, pywikibot-bugs-list, Shavtay, Avner, debt, Gehel, D3r1ck01, FloNight, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, Mbch331 _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs