https://bugzilla.wikimedia.org/show_bug.cgi?id=29621
Web browser: --- Bug #: 29621 Summary: Can't create a username with multiple spaces in it (should fail better or something) Product: MediaWiki Version: 1.19-svn Platform: All OS/Version: All Status: NEW Severity: normal Priority: Unprioritized Component: User login AssignedTo: wikibugs-l@lists.wikimedia.org ReportedBy: bawolff...@gmail.com Classification: Unclassified Filing a bug mostly because I don't know what to do about it. Tried to create an account named "tst login" (note double space). This failed due to the check: $parsed = Title::newFromText( $name ); if( is_null( $parsed ) || $parsed->getNamespace() || strcmp( $name, $parsed->getPrefixedText() ) ) { Which is meant to detect namespace prefixes. (the third part checks if its equal to its normalization, and fails if not) We should probably just give a warning if the user name normalizes to something different then typed. We should also more generally be specific why things fail. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l