mwn icon indicating copy to clipboard operation
mwn copied to clipboard

Interacting with other wikis

Open Ivi104 opened this issue 1 year ago • 1 comments

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?

Ivi104 avatar Jan 03 '24 01:01 Ivi104

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.

siddharthvp avatar Jan 06 '24 12:01 siddharthvp