Manual:$wgMaximalPasswordLength/zh
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 MaximalPasswordLength</tvar> for an alternative way to use this feature.</translate> |
<translate> User accounts, authentication</translate>: $wgMaximalPasswordLength | |
---|---|
指定用户密码的最长长度。 |
|
<translate> Introduced in version:</translate> | 1.24.0 (Gerrit change 201220; git #63cf33d8) |
<translate> Deprecated in version:</translate> | 1.26.0 (Gerrit change 206156; git #1a20dc93) |
<translate> Removed in version:</translate> | 1.42.0 (Gerrit change 995047; git #2d66025f) |
<translate> Allowed values:</translate> | (非负整数) |
<translate> Default value:</translate> | 4096 |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
详情
指定用户密码的最长长度。
不建议将此值设置为大于默认值,因为它可以允许用户设置非常长的密码进行DoS攻击。 此外,这也不应该降低太多,因为这会强制使用弱密码。
自从1.26版本被弃用,以$wgPasswordPolicy 替代。
另请参阅
Categories:
- MediaWiki configuration settings/zh
- MediaWiki configuration settings introduced in version 1.24.0/zh
- MediaWiki configuration settings deprecated in version 1.26.0/zh
- MediaWiki configuration settings removed in version 1.42.0/zh
- Pages with broken file links
- MediaWiki deprecated or obsolete features/zh
- Users variables/zh