2016-09-06 6:57 GMT+02:00 MZMcBride z@mzmcbride.com:
I don't know enough about your requirements to say for sure, but in my uninformed opinion, the best thing would be to switch from Pywikibot Compat to Pywikibot core. :-)
This is a long story, and the talk has its own place. I do have the reason to use compat, and there are many users in the solar system.
Looking at pages such as https://www.mediawiki.org/wiki/Manual:Pywikibot/Compat/deprecation, it seems the Compat version of Pywikibot is completely dead and no longer supported. Retrofitting Compat to support current login code doesn't sound like fun to me.
No, it is not dead, but there are people who like to state that. It has plenty of users. You might say, those instances run on older MW installs where the login is fine. But there are still Wikimedia projects with interwikis (not switched to Wikidata yet), and interwiki bot owners like compat for some reason. Catch 22. What I try to do at the moment, is just the support, so "no longer supported" is not the case. (Yeah, I do it for myself, but if I succeed, the result will be published.)
I think the API documentation should probably be made a bit clearer as I think there are now two deprecated ways of logging in. We should likely make it more explicit which way applies to which versions of MediaWiki. This allows developers to have a quicker and easier understanding when determining how much compatibility code is needed in a specific tool/script/application.
Yes, I appreciate.