Skip to content

Using WikibaseIntegrator for a Wikibase Docker instance #88

Answered by LeMyst
Hildepont-0 asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, I understood your issue.
You are logged to your instance but you try to edit/access Wikidata (the default instance).

Try to add this at the top of your script and remove the mediawiki_api_url and mediawiki_index_url from your wbi_login.Login():

from wikibaseintegrator.wbi_config import config as wbi_config

wbi_config['MEDIAWIKI_API_URL'] = 'http://localhost:8181/api.php'
wbi_config['SPARQL_ENDPOINT_URL'] = 'http://localhost:8989/bigdata/sparql'
wbi_config['WIKIBASE_URL'] = 'http://wikibase.svc'

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Hildepont-0
Comment options

@LeMyst
Comment options

@Hildepont-0
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by LeMyst
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants