When I look at https://wiki.gentoo.org/wiki/Special:Preferences whilst logged in, I see that "Username: Gentoo eshoes " and "Real name: gentoo_eshoes". The latter is an editable field but is in face my username (which I use to log in!) If I log out, then try to log in again by going to the Log in page, the "Username" is prefilled as "Gentoo eshoes" which is my "real" name, instead of "gentoo_eshoes" which is my username(note the underscore in the middle, compared to a space for realname and a differently cased G). Furthermore the "Cookie:" http header contains "gentoo-wikiUserName=Gentoo+eshoes;" which is obviously the "real" name value instead of the username value. Reproducible: Always Steps to Reproduce: 1. log in by going to https://wiki.gentoo.org/index.php?title=Special:UserLogin 2. got to Prefereces ie. https://wiki.gentoo.org/wiki/Special:Preferences Actual Results: The values for "Real name:" and "Username:" are swapped (see attached screenshots) Expected Results: username and realname should not appear swapped, also in the header cookie "gentoo-wikiUserName=" the username should be used. Note that I've tested this via "$ /home/user/.local/bin/mozregression --launch=078326f48100828dc60d2e0ca2819164b8803b7d" which is the browser that does NOT exhibit bug https://bugs.gentoo.org/717374#c5
Created attachment 633082 [details] username and realname have values that are swapped but the real name is correctly shown as the menu title when trying to log out (unless it was meant to show the username there?)
Created attachment 633084 [details] the real name is now auto-filled on login page instead of the username this is probably because of the cookie value which uses/saved the realname instead of the username
oh crap, it actually works to log in with my real name "Gentoo eshoes" too :/ maybe I got this all wrong (again?)
oh dear, checked my registration email: "Someone, probably you, [...] has registered an account "Gentoo eshoes" with this email address on Gentoo Wiki." this means that at registration time I (unknowingly) swapped the username and realname fields, ie. I put the wrong info in each. Well, that explains it. Furthermore, I guess it's a feature to allow you to log in by using either username or realname.