Talk:Password reset

Ideas and comments


Regarding Jared's redesign proposal and general improvements we might make...


 * Obviously the blocker for accepting the redesign is converting all of mediawiki.ui to conform to the Flow updated style. I doubt this is going to happen quickly, and we need to work out points of disagreement like the blue input area highlights.
 * Do we really need a cancel button? Since cancel would probably only clear the fields, this seems strange.
 * I like the move to placeholders for sure. The labels we currently have take up more space and feel cluttered.
 * On the mailing list, we discussed combining the two fields in to one, labeled as "Username or email address". Users do not have to enter both: they can enter a username or an email, so it's confusing to have two fields. I really think this could improve usability, but there is potentially a technical hurdle in validating both email or username in a single field. Also note that if you're logged in, the form will autofill your current username. One alternative could be having a single field, with a required radio button to choose username or password. This we could potentially do without needing the rest of the redesign of the mediawiki.ui controls and vform style in place.

Steven Walling (WMF) &bull; talk   01:48, 18 October 2013 (UTC) CC:, ,
 * I'm also not sure how Cancel is meant to work, and I don't know any other forms on the site (or most other sites' reset forms for that matter) that have it. Re placeholders, we need to make sure it has very broad browser support, since login and signup are critical functionality.  It doesn't have to look great in old browsers, but it has to work (and that includes seeing which field is which).  65871 is probably still relevant, though I haven't worked on it recently. Superm401 - Talk 03:49, 18 October 2013 (UTC)

I made the *quick* mock-up before i was aware we only needed one or the other (as I mentioned via email the text about only needing one of the other isn't obvious right away) so I think we can do a better job than what I made in 10 minutes just by applying agora control styles.

Jaredzimmerman (WMF) (talk) 06:03, 18 October 2013 (UTC)
 * Do we know the frequency of password resets by logged in users?
 * Can we detect if the input is a valid email vs something else (lets assume a user name) i.e. can a user name be some.thing@something.abc.ab?
 * Can we check both username and email and only ask if there is a dual match e.g. input matches both a user name and email address which is not the same account
 * If we allow multiple accounts with the same email address, what do we currently do?
 * How do we handle if a user name with no associated email address is entered?
 * At what point do we validate the input? does the user have to submit the form before we attempt to validate the input, is this an actual tech limitation?
 * Is there any security issues with prepopulating the form with the logged in users name?
 * When a password reset email is sent does the users password actually reset unless action is taken from the email?


 * Yes, you can spot an e-mail address (ish) as a username can't have an "@" in it. Jdforrester (WMF) (talk) 17:47, 18 October 2013 (UTC)
 * Jdforrester: Err, "ish" indeed. There are plenty of pre-existing usernames that contain an "@"; for example, the English Wikipedia administrator w:en:user:@pple. My very rough count says that there are about 28,200 accounts on the English Wikipedia that contain an "@" and about 39,900 global accounts that contain an "@". --MZMcBride (talk) 18:37, 18 October 2013 (UTC)
 * One further quick note: if you limit usernames containing an "@" on the English Wikipedia to only users with more than 50 edits, the number drops to 186. --MZMcBride (talk) 18:41, 18 October 2013 (UTC)
 * Oh dear - "@" is meant to be a banned character for usernames. Did the code for that get added later? Jdforrester (WMF) (talk) 18:51, 18 October 2013 (UTC)
 * Jdforrester: From what I can tell, "@" was formally banned (in a hardcoded fashion) from usernames in 16658 (September 2006). The implementation was later changed to the global configuration variable $wgInvalidUsernameCharacters in 48765 (March 2009). --MZMcBride (talk) 18:58, 18 October 2013 (UTC)
 * Lovely. :-( Thanks for the investigative work; we may need to force those accounts to be renamed given that other code assumes "@" is an invalid username character. But that's rather a big change to force on (admittedly a small pool of) users, and is outwith the context of this page. Jdforrester (WMF) (talk) 19:06, 18 October 2013 (UTC)

Requests for comment
This page discusses the past, present, and future of the password reset form. It feels very much like a requests for comment (RFC), unless you're... not seeking feedback? What's the purpose of this page, exactly? Who is its intended audience? I'm strongly reminded of a similar page in which the "unclear audience" problem was discussed, though I'm failing to remember which precise page that was. --MZMcBride (talk) 04:27, 18 October 2013 (UTC)


 * An RFC is about resolving design and architectural questions for MediaWiki as a whole. The page as clearly described is about documenting what we might like for Wikimedia projects, and we're not asking people to comment. We're just documenting what we're working on in our few spare hours, so that it doesn't drift away in email threads on the design mailing list. Steven Walling (WMF) &bull; talk   06:55, 18 October 2013 (UTC)


 * "Seeking consensus has always been a key part of [...] MediaWiki." I don't see how you can appropriately propose design changes without seeking feedback. --MZMcBride (talk) 18:27, 18 October 2013 (UTC)