Manual:$wgMaxNameChars

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский
Users: $wgMaxNameChars
Maximum number of bytes in username.
Introduced in version: 1.2.0
Removed in version: still in use
Allowed values: integer
Default value: 255
32 (prior to 1.5.0)
Other settings: Alphabetical | By function

Details[edit]

Sets the maximum number of bytes in username.

Note Note: All existing usernames on a wiki consisting of more bytes will become invalid after you set this parameter to a lower value.

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