As promised in T94958, I'm filing a ticket about some of the MediaWiki extension AntiSpoof's error messages. "antispoof-tooshort" is currently: "Canonicalized name too short". This is really opaque and unhelpful. Some of the other messages aren't really much better (e.g., "Contains unassigned character $1" and "Contains incompatible mixed scripts").
We should audit these error message and either remove them from user interface exposure or make them clearer. Basically these error messages currently read like debug messages, which is fine, as long as we're not exposing those messages to users directly. We need to either only expose these messages internally or we need to rewrite them in plainer language. "Mixed scripts", "canonicalized", and "unassigned character" are difficult for me to understand and I'm a native English speaker who's very moderately intelligent!
To do
- Propose new language on the error messages
- Get input/approval from others about the proposed new language
- Make changes, merge, & release
Messages
Usage
The username "FooBar" is not allowed to prevent confusing or spoofed usernames: ERROR MESSAGE HERE Please choose another username.
Error Messages
antispoof-badtype
- Current: Bad data type
- Update to: Usernames can only contain unicode characters.
antispoof-empty
- Current: Empty string
- Update to: No username was provided.
antispoof-blacklisted
- Current: Contains blacklisted character $1
- Update to: Usernames cannot contain the character "$1".
antispoof-combining
- Current: Begins with combining mark $1
- Update to: Usernames cannot begin with "$1".
antispoof-unassigned
- Current: Contains unassigned character $1
- Update to: Usernames cannot contain the character "$1".
antispoof-deprecated
- Current: Contains deprecated character $1
- Update to: Usernames cannot contain the character "$1".
antispoof-noletters
- Current: Does not contain any letters
- Update to: Usernames must contain one or more letters.
antispoof-mixedscripts
- Current: Contains incompatible mixed scripts
- Update to:
antispoof-tooshort
- Current: Normalized name too short
- Update to: Your provided username is too short.