Manual:$wgMinimalPasswordLength
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.42.0</tvar>.</translate> <translate> Please see <tvar name=page>$wgPasswordPolicy's MinimalPasswordLength</tvar> for an alternative way to use this feature.</translate> |
<translate> User accounts, authentication</translate>: $wgMinimalPasswordLength | |
---|---|
Specifies the minimal length of a user password. |
|
<translate> Introduced in version:</translate> | 1.5.0 (r7317) |
<translate> Deprecated in version:</translate> | 1.26.0 (Gerrit change 206156; git #1a20dc) |
<translate> Removed in version:</translate> | 1.42.0 (Gerrit change 995047; git #2d66025f) |
<translate> Allowed values:</translate> | (nonnegative integer) |
<translate> Default value:</translate> | 8 (1.40+)
0 (1.5-1.15) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
Specifies the minimal length of a user password.
If you change this value, users with a password shorter than your new $wgMinimalPasswordLength
, have to change their password the next time they log in.
If set to 0, empty passwords are allowed.
Since 1.26 deprecated in favor of $wgPasswordPolicy .