In trying to use the Wikibase Integrator package to log in, I still am having problems
despite following your advice. I first defined the various config values as the Integrator
documentation suggests:
wbi_config["WIKIBASE_URL"] = 'https://framenet-akkadian.wikibase.cloud'
wbi_config["MEDIAWIKI_INDEX_URL"] =
'https://framenet-akkadian.wikibase.cloud/w/api.php'
wbi_config["MEDIAWIKI_API_URL"] =
'https://framenet-akkadian.wikibase.cloud/w/index.php'
wbi_config["MEDIAWIKI_REST_URL"] =
'https://framenet-akkadian.wikibase.cloud/w/rest.php'
and then tried two ways of logging in. The first is the old way using a personal account:
login_instance = wbi_login.Clientlogin(user='XXX', password='XXX')
wbi = WikibaseIntegrator(login=login_instance)
When I tried to follow the 'OAuth2' method and register an owner-only client on my
wikibase-cloud project for Wikibase Integrator to use, the registration process does not
seem to work. Clicking the 'Propose Consumer' button generates an error page (HTTP
500). I also for the sake of trying also did the same registration process on
meta.wikimedia.org. I used the tokens there for the wbi_login's OAuth2 method:
login_instance = wbi_login.OAuth2(consumer_token='XXX',
consumer_secret='XXX')
But it said 'authentication failed'.
So I still don't understand what is going wrong. Perhaps I am defining
web_config's url settings wrong?