Registration on Wikitech (which is part of the process of getting a gerrit account) currently tells the would-be user to ask someone to verify from a labs instance whether the shell username is taken, by issuing the command groups $username on a shell. That's not exactly inviting. When submitting the form, that check is performed anyway, so it should be possible to do it as an AJAX request as part of form validation.
|Duplicate||bd808||T190412 Update messages on Wikitech account creation screen|
|Open||None||T88092 Update wikitech customised shell account name registration instructions|
@Krenair: It is, cf. http://git.wikimedia.org/blob/mediawiki%2Fextensions%2FOpenStackManager.git/master/nova%2FOpenStackNovaUser.php#L508. At the moment, there is no API that could be queried by AJAX, though (cf. api/).
Why do we suggest that they ask for that check when it'll be performed automatically anyway? Can't we just remove that text, and open a separate task to check it as the form is being filled out?
That text does not appear in the default version of the message, caused by a local administrator: https://wikitech.wikimedia.org/w/index.php?title=MediaWiki:Openstackmanager-shellaccountnamehelp&action=history
Not perfect, but better.
Adding a Action API action for checking for used shell names and wiring that into the OpenStackManager account creation customization would be the next logical step. Or we just figure out how to do T179463: Create a single application to provision and manage developer (LDAP) accounts and then T161859: Make Wikitech an SUL wiki and everyone is happier and better served.