Skip to content

Queryservice, based on the Wikidata query service, with very few modifications.

License

Notifications You must be signed in to change notification settings

wbstack/queryservice

Repository files navigation

queryservice

ℹ️ Issues for this repository are tracked on Phabricator - (Click here to open a new one)

Allowlist

The allowlist determines to which queryservices federated queries can be made. This list should contain at least the services that are allowed on the wikidata queryservice and any Wikibase Cloud hosted Wikibases

To update the list to include new Wikibase Cloud wikis one can run the following:

kubectl exec -it deployment/api-app-backend -- php artisan tinker --execute '\App\Wiki::all()->pluck("domain")->each(function ($i, $k) { echo "https://".$i."/query/sparql".PHP_EOL; })' > allowlist.txt
cat allowlist-static.txt >> allowlist.txt