Manual:$wgMinimalPasswordLength/en

Details
Specifies the minimal length of a user password. If you change this value, users with a password shorter than your new, 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.