Wikitech policy (used to?) states that the username should be your real name. In my case, that means my username is 'Merlijn van Deen' while my 'shell name' is 'valhallasw' - the nickname I use all over Wikimedia-space.
Gitlab takes the LDAP username, removes spaces (and other characters?), and uses that as username: https://gitlab.wikimedia.org/MerlijnvanDeen
This has two issues:
- This is not the username I want :-)
- What happens with names that end up in the same simplified username?
Would it be possible to let people specify their own username? (I assume this is standard Gitlab...).
An alternative could be to use the 'shell name' field, although a) that might still not be what people want, and b) probably requires significant modifications in the LDAP provider.