Check normalization rules of usernames during signup
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 25 Feb 2019 20:08:10 +0000 (21:08 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 28 Feb 2019 01:03:16 +0000 (02:03 +0100)
commitbc2a712ace1140cab3a4e000edd72ae0672cc904
tree0b86ef980dbc4483dcd74980369516e6462586a1
parentb5b4374d749e244e1e7915a34239181b6bbcb005
Check normalization rules of usernames during signup

The username may need to be adjusted due to technical restrictions
for page titles: the first letter is capitalized, underscores are
changed to spaces, and so on. Some of these tweaks can be unwanted
by some users: for example "Matma Rex" and "matmarex" are both
acceptable usernames for me, but "Matmarex" is not.

Display a warning if that happens (if the user has JavaScript
enabled). No action is needed from the user, other than reading
the message.

Bug: T63416
Change-Id: I120f17ca3801879ad650e5a81e7a4c270540cd4f
RELEASE-NOTES-1.33
languages/i18n/en.json
languages/i18n/qqq.json
resources/Resources.php
resources/src/mediawiki.htmlform.checker.js
resources/src/mediawiki.special.userlogin.signup.js