Page MenuHomePhabricator

Prepare pywikibot for http -> https switch in entity uri
Closed, ResolvedPublic

Description

The current implementation of sparql/query support for pywikibot relies on a hardcoded uri prefix for the entity.

If T153563: Consider switching to HTTPS for Wikidata query service links gets implemented this will break. Since we can get the concept_base_uri via the API using that will make us imune to future changes (and different implementations on different wikis.

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript

Change 319857 had a related patch set uploaded (by Lokal Profil):
[pywikibot/core] Make sparql use Site to access sparql endpoint and entity_url

https://gerrit.wikimedia.org/r/319857

Lokal_Profil renamed this task from Prepare pywikibot for to Prepare pywikibot for http -> https switch in entity uri.Mar 8 2017, 3:28 PM
Lokal_Profil removed projects: SRE, Traffic.

Change 319857 merged by jenkins-bot:
[pywikibot/core@master] Make sparql use Site to access sparql endpoint and entity_url

https://gerrit.wikimedia.org/r/319857