Manual:$wgMinimalPasswordLength

Details
Specifies the minimal length of a user password. If set to 0, empty passwords are allowed.