Shavtay created this task.
Herald added subscribers: pywikibot-bugs-list, Zppix, Aklapper.
TASK DESCRIPTION
I added mylang='test' to the user-config file in pywikibot , then when I run
SPARQL queries using pagegenerator:
sparql = "SELECT ?item WHERE { ?item rdfs:label '%s'@en }" % val
entities =
pagegenerators.WikidataSPARQLPageGenerator(sparql,site=pywikibot.Site())
I found out that the results are from www.wikidata and not test.wikidata
I think this better be fixed so people can develop on test.wikidata without
ruing www.wikidata
TASK DETAIL
https://phabricator.wikimedia.org/T135241
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Shavtay
Cc: Wikibase-DataModel, Aklapper, Pywikibot-pagegenerators, Zppix, Wikidata,
pywikibot-bugs-list, Shavtay, D3r1ck01, Izno, Wikidata-bugs, aude,
JeroenDeDauw, Mbch331
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs