Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interacting with other wikis #70

Open
Ivi104 opened this issue Jan 3, 2024 · 1 comment
Open

Interacting with other wikis #70

Ivi104 opened this issue Jan 3, 2024 · 1 comment

Comments

@Ivi104
Copy link

Ivi104 commented Jan 3, 2024

This package has been super useful to me, thank you for making it!
I recently stumbled upon an unusual use case, and I'm not sure how to handle it:

  • I am logged in to, say enwiki, using BotPassword.
  • I do not have a local account on, say frwiki.
  • If I attempt to login to frwiki with BotPassword, my login will be rejected (Incorrect username and password).
  • If I try and fetch a CentralAuthToken from enwiki by hand, in order to use it in my request to frwiki (see CentralAuth/API), I get the following error:

code: 'badsession',
info: 'Can only obtain a centralauthtoken when using CentralAuth sessions.'

What is the proper way to interact with other wikis where I may not have a local account?

@siddharthvp
Copy link
Owner

This seems to be a MediaWiki question rather than an mwn question. And frankly, I don't know the answer. Would suggest asking on Discord or IRC where the experts hang out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants