Hello Yusuke,
Thank you for your email.
Everything you mention is already done. I've managed to log-in adding to the user-config.py the former usernames['project']['lang'] = u'BotName', in addition to the authenticate ['*.wikimedia.org'] = ('keys here').
I don't know if, when using OAuth, the usernames['project']['lang'] = u'BotName' should still be used though, but that's the only way I could manage to log in.
Best regards, M.
2016-08-07 14:17 GMT+02:00 Yusuke Matsubara whym@whym.org:
I've tried to log in using OAuth, unsuccessfuly.
At which step does it fail? Any error message?
I have been using OAuth for months. Initial pitfalls for me were:
- Make sure being logged into your bot account in the browser when
performing OAuth registration.
- Before trying to log in with OAuth, bot needs to be logged out. Use
"pwb.py login -logout", or perhaps clear cache files under .pywikibot (but be careful to not delete config files).
- You will need to check "This consumer is for use only by <your
name>." on Special:OAuthConsumerRegistration/propose.
- You will also need to check relevant items under "Applicable grants:"
(Context for others: OAuth login seems to work as a workaround for this login breakage.)
-Yusuke
On Sat, Aug 6, 2016 at 9:05 PM, MarcoAurelio strigiwm@gmail.com wrote:
I've tried to log in using OAuth, unsuccessfuly. I've followed all the steps of the on-wiki documentation and have indeed the latests release of pywikibot-core. Any hints? Thanks, M.
2016-08-06 9:38 GMT+02:00 Legoktm legoktm.wikipedia@gmail.com:
Hi,
Please review/test/merge https://gerrit.wikimedia.org/r/303342.
I am afk most of tomorrow, so if someone else wants to handle backporting it to 2.0 and releasing it, that would be appreciated, otherwise I'll do it once I'm back. I don't believe I have permissions to push it to pypi though.
-- Legoktm
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot