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.
-- billinghurst
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
-- Legoktm
2016-01-19 9:14 GMT+02:00 Legoktm legoktm.wikipedia@gmail.com:
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.
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?
Thanks, Strainu
-- Legoktm
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot
2016-01-19 23:15 GMT+02:00 Strainu strainu10@gmail.com:
2016-01-19 9:14 GMT+02:00 Legoktm legoktm.wikipedia@gmail.com:
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.
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
On Tue, Jan 19, 2016 at 6:14 PM, Legoktm legoktm.wikipedia@gmail.com wrote:
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.
This will mean Pywikibot 2.0 (which uses httplib2) will be undesirable for Wikimedia use soon.
We will need to finalise the 2.0 release, and then start work on the 3.0 release which uses requests and supports OAuth.