Manual:$wgMaxNameChars/de-formal

From Linux Web Expert

Revision as of 08:35, 17 August 2022 by imported>ThisCarthing (Created page with "== Details ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> User accounts, authentication</translate>: $wgMaxNameChars
Maximum number of bytes in username.
<translate> Introduced in version:</translate>1.2.0
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(integer)
<translate> Default value:</translate>255 (1.5+)
32 (1.2-1.4)

Details

Sets the maximum number of bytes in username.

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 (<translate> task <tvar name=1>T25080</tvar></translate>).