Extension talk:Minimum Name Length/Archive 1
Add topicAppearance
Latest comment: 12 years ago by S Page (WMF) in topic Is there a maximum name length?
MinimumNameLength.php
[edit]Hi, I installed the extension as you said, but the $wgMinimumNameLength was already defined in MinimumNameLength.php, and therefor collided with the one I set in LocalSettings.php. After removing the one in LocalSettings.php and changing the one in MinimumNameLength.php, all was well.
Perhaps you need to change this in your install guide? Sidearm 20:40, 21 November 2008 (UTC)
Is there a maximum name length?
[edit]As above?
- Yes. No doubt there are various limits imposed by different parts of MediaWiki's codebase; one I'm aware of is in User.php in
isCreatableName()
(and thus it restrictsgetCanonicalName(..., 'creatable')
, the Create Account form, etc. ):
// Ensure that the username isn't longer than 235 bytes, so that
// (at least for the builtin skins) user javascript and css files
// will work. (bug 23080)