Manual:$wgPasswordConfig/zh

详情
Configuration for built-in password types.

Maps the password type to an array of options:


 * class - The Password class to use.
 * factory - A function that creates and returns a suitable Password object. This option is intended only for internal use; the function signature is unstable and subject to change in future versions.

All other options are class-dependent.

-{zh-hans:示例; zh-hant:範例;}-
The following example shows on how user-defined password encryptions can be added to the  file: