2016-01-19 9:14 GMT+02:00 Legoktm
<legoktm.wikipedia(a)gmail.com>om>:
Hi,
On 01/18/2016 02:49 PM, billinghurst wrote:
I have read the WM messaging about the changes
that are taking place in
WM 1.27.0/11 with regards to authentication, though not understanding
what that will mean for Pywikibot. Would SKS please cover that
information gap. Thx.
Pywikibot supports using OAuth to authenticate. For Wikimedia sites,
it's recommended that you switch to that, and there's documentation[1]
on how to do so.
[1]
https://www.mediawiki.org/wiki/Manual:Pywikibot/OAuth
Hi,
I followed the instructions there, but when trying to edit I get "API
error badtoken: invalid token". I double checked the tokens and
secrets, but they seem OK. How can I debug further?
It took about an hour of debugging, but eventually I figured it out:
you need to logout before activating OAuth. This is non-intuitive and
I've added it to the manual page.
Strainu