Last modified: 2014-09-03 23:50:11 UTC
The check in resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js that attempts to help the user choose an available username is not aware of CentralAuth accounts that have not been attached to the local wiki. This is due to the use of /w/api.php?action=query&list=users to power the check. Example: * http://en.wikipedia.org/w/api.php?action=query&list=users&ususers=BryanDavis * http://fr.wikipedia.org/w/api.php?action=query&list=users&ususers=BryanDavis The conflict will be noticed when the form is submitted, but it would be nicer if users were warned about global user conflicts by the pre-submit validation.
Known issue, the functionality was added in 74b222230 with the comment: > The way this is done (via action=query&list=users API) means that we > can't check for all possible error conditions, both for the username > (e.g. these enforced by extensions like AntiSpoof) and other parts of > the form (e-mail, password…) – these are still handled server-side > only. Thus we intentionally never say that whatever the user typed in > is valid – we only warn when we know it's not. > > Doing this "properly" would require some reworking of the internals of > the signup process and this way is already a huge improvement. Basically, this would probably be best solved with a "dry run" mode for the registration form.
(Hmm, this might be a duplicate/dependency of bug 64728. Definitely related.)
This is definitely a dup of bug 64728 *** This bug has been marked as a duplicate of bug 64728 ***