Last modified: 2014-05-26 21:49:04 UTC
The list of usernames is public, so it would be useful to do client-side validation of usernames on the password reset screen. This is similar to the same bug 17544, bug 34447, and bug 47685. It is not public which emails are in use, so we should not reveal that in any way (the current password reset interface does not either).
Thanks Matt
Change 124139 had a related patch set uploaded by Ganeshaditya1: AJAX validation of username in password reset page https://gerrit.wikimedia.org/r/124139
Can this be leveraged for Account creation as well?
I think it can be, by factoring out the validateUserName function into a common file and making it common to both the account creation, login and password reset pages. What could I name this file ? It might take me some time as I have exams so in the meantime I would even get feedback on my validateUserName function too.
(In reply to ganeshaditya1 from comment #4) Matt can probably point you in the right direction here, this is on our roadmaps but isn't a prioritized thing for us right now, so we really appreciate you taking the time to work on this.
(In reply to Jared Zimmerman (WMF) from comment #3) > Can this be leveraged for Account creation as well? Bartosz already implemented this in 74b22223 for account creation. It's been live for a little while. :) As for generalizing it, login and password reset could be common pretty easily (does the username exist?). Signup is a little more difficult, since it's partly the opposite (username should *not* exist) and partly custom (must be valid username, which we don't have to worry about if it needs to exist anyway).
ganeshaditya1: Do you plan to extend your patch, based on comment 5 and comment 6?
Also, there are more issues with it that I pointed out in Gerrit.