https://bugzilla.wikimedia.org/show_bug.cgi?id=73539
Bug ID: 73539 Summary: Unhandled API login error codes Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
The login has many error codes which are unhandled.
http://www.wikia.com/api.php?format=jsonfm&modules=login&action=para...
Bug 73533 will handle the most critical ones, however the others need to be handled, and that will require more detailed analysis.
For example, 'Blocked', found in 1.19 paraminfo.
The API allows blocked users to login, but prevents them from editing, etc. Therefore, API login error code 'Blocked' may not needed in modern API usage.