Last modified: 2012-07-11 19:05:31 UTC
Currently it says "Login failed :( NotExists"
What should the failed login messaging actually be? There are a number of failure states for the login API, documented here: http://www.mediawiki.org/wiki/API:Login#Errors For simplicity, I'm inclined to group the possible errors as follows, which would simplify messaging: * Something wrong with the username (NoName, Illegal, NotExists) eg "Login failed: There is a problem with the username you entered." * Something wrong with the password (EmptyPass, WrongPass, WrongPluginPass) eg "Login failed: There is a problem with the password you entered." * Blocked account (CreateBlocked, Blocked) eg "Login failed: The user account has been blocked. Please go to <somewhere for more info about blocked accounts> for more information." * The account is being throttled (Throttled) eg "Login failed: You have attempted to log in too many times in a short period of time. Please wait a bit and try logging in again." * Internal error (mustbeposted, NeedToken): "Login failed: There was an internal error. Please try again later, and/or contact us"
Resolved in https://github.com/wikimedia/WLMMobile/pull/30