Page MenuHomePhabricator

Make SPARQL endpoint discoverable using Wikibase API
Closed, ResolvedPublic

Description

I have a library and I want the scripts I am writing to be easily usable on multiple wikibase installations.
3rd party wikibase installs can install their own sparql endpoint.

It would be super useful if the SPARQL endpoint could be discoverable using the mediawiki / wikibase api somehow.

Event Timeline

Addshore raised the priority of this task from to Low.
Addshore updated the task description. (Show Details)
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

It looks like there should be probably some <link> tag in HTML output maybe, configurable of course, but I couldn't find any standards that talk about it.

Change 268465 had a related patch set uploaded (by Addshore):
Make sparql endpoint discoverable in ApiSiteInfo

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

I also could not find any standards, but see the patch above

Change 268467 had a related patch set uploaded (by Addshore):
Add $wgWBRepoSettings['sparqlEndpoint']

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

Change 268465 merged by jenkins-bot:
Make sparql endpoint discoverable in ApiSiteInfo

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

Patch is merged in wikibase
Config patch due to be merged on the 8th
Which means this will be available the deployment after that!

Change 268467 merged by jenkins-bot:
Add $wgWBRepoSettings['sparqlEndpoint']

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

It's not quite all deployed yet so best to keep it open for a few more days!