Page MenuHomePhabricator

Decide on setup of pywikibot
Closed, DeclinedPublic

Description

  • put user-config.py in ~/.pywikibot (and no other place)?
  • use OAuth (since e.g. COHBot is supposedly a multi-user bot?
  • set ONE password once and for all and make sure it works? (not password_file = SecretPasswords that doesn't, one pass for GAR, one for SMVK etc

Event Timeline

The first and third solution does not work for users running multiple bots. Using OAuth instead of BotPasswords might be a goad goal but it doesn't solve the issue of needing a local password file/user-config.

Most likely we will also start wanting to use COHbot for the uploads on Wikidata so the solution needs to be something which works for all three of us.

You can stick your password file/user-config anywhere as long as you use the -dir flag in pywikibot/BatchUploadTools. Alternatively you always copy the right settings into the folder for your current batch project. You can also run the uploads from a virtual environment to ensure other settings are not leaking in.

Wise. I decline this since our "developer meeting" about T154470 next week will fix this easily or make sure it get's in the loop.