Form improvements when creating another's account
authorS Page <spage@wikimedia.org>
Tue, 9 Jul 2013 04:35:43 +0000 (21:35 -0700)
committerS Page <spage@wikimedia.org>
Wed, 17 Jul 2013 22:03:37 +0000 (15:03 -0700)
commitdb139892723554407ae10d5028fa54300aa58487
tree4d0a51b0024dcb8f4750eddc36e73f7e52fef79b
parent0977c66dcab18536d9bb755ae54faf4dfb75d9eb
Form improvements when creating another's account

Detect a logged-in user creating an account for someone else and change
messages:
* heading is "Enter the new account information below."
* username placeholder is "Enter the username", not "Enter your username"
* email field placeholder is "Enter email address" not "Enter your ..."
* submit button is "Create another account"

Also improve JS when e-mail password is checked to remove the password
fields (otherwise the form still submits them and browser prompts to
remember password).

Bug: 47792
Change-Id: I00e0d21d63bf32ad691ea3a27523298478e2d45c
includes/specials/SpecialUserlogin.php
includes/templates/Usercreate.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc
resources/mediawiki.special/mediawiki.special.createAccount.js