Extension talk:Minimum Name Length/Archive 1

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)Reply

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 restricts getCanonicalName(..., '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)

-- S Page (WMF) (talk) 01:41, 1 October 2012 (UTC)Reply

Return to "Minimum Name Length/Archive 1" page.