Manual:$wgMaxNameChars

Details
Sets the maximum number of bytes in username.

 (and thus the "Create account" form) enforces a lower limit of 235 bytes, to avoid unreachable subpages such as User_talk:Username/monobook.css ().