Last modified: 2012-07-11 19:05:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40072, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38072 - WLM App needs a better login failed message
WLM App needs a better login failed message
Status: RESOLVED FIXED
Product: WikiLoves Monuments Mobile
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-29 03:04 UTC by Tomasz Finc
Modified: 2012-07-11 19:05 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tomasz Finc 2012-06-29 03:04:03 UTC
Currently it says "Login failed :( NotExists"
Comment 1 Arthur Richards 2012-07-05 23:47:47 UTC
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"
Comment 2 Arthur Richards 2012-07-09 23:37:13 UTC
Resolved in https://github.com/wikimedia/WLMMobile/pull/30

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links