Hi everyone,
A change was deployed which changed the behavior of the login api. As a result Pywikibot bots can't login to any of the WMF wiki's. I asked Brad to undo his change so bots can login again. This problem is being tracked in https://phabricator.wikimedia.org/T142155 .
Maarten
_______________________________________________ pywikibot-announce mailing list pywikibot-announce@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-announce
On Sat, Aug 6, 2016 at 4:11 AM, Maarten Dammers maarten@mdammers.nl wrote:
Hi everyone,
A change was deployed which changed the behavior of the login api.
The offending change was announced a week ago: https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-July/00011...
As a result Pywikibot bots can't login to any of the WMF wiki's. I asked Brad to undo his change so bots can login again. This problem is being tracked in https://phabricator.wikimedia.org/T142155 .
Brad's change has been reverted, but that revert wont be deployed until Tuesday. Wiki Conference India is occurring now, and they are of course affected, and the conference is over before Tuesday.
fwiw, there is an API deprecation message for "action=login", which we havent acted on, which means a bigger rewrite is also needed soon, as the API deprecate message clearly says "action=login is deprecated and may stop working *without warning*" (emphasis added)
https://phabricator.wikimedia.org/T137805
On Sat, Aug 6, 2016 at 12:58 PM, John Mark Vandenberg jayvdb@gmail.com wrote:
On Sat, Aug 6, 2016 at 4:11 AM, Maarten Dammers maarten@mdammers.nl wrote:
Hi everyone,
A change was deployed which changed the behavior of the login api.
The offending change was announced a week ago: https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2016-July/00011...
As a result Pywikibot bots can't login to any of the WMF wiki's. I asked Brad to undo his change so bots can login again. This problem is being tracked in https://phabricator.wikimedia.org/T142155 .
Brad's change has been reverted, but that revert wont be deployed until Tuesday. Wiki Conference India is occurring now, and they are of course affected, and the conference is over before Tuesday.
Correction: it is currently working, but will be broken again on Tuesday unless we fix it.
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
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
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
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
I just read it was discussed at https://phabricator.wikimedia.org/T142269 and documented in https://www.mediawiki.org/wiki/Manual:Pywikibot/OAuth/Wikimedia in the last day. I guess I should have followed links more closely.
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.
This is also what I do. It is convenient for me because I can choose a few wiktionaries that I want to log in while giving a blanket authentication with "authenticate[*.wiktionary.org]".
-Yusuke
On Sun, Aug 7, 2016 at 9:21 PM, MarcoAurelio strigiwm@gmail.com wrote:
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
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot