The user password was being set to '-' briefly during setup, before being overwritten.
This broke with $wgMinimalPasswordLength > 1, throwing a fatal exception.
Using the special value of null instead allows the initial non-valid password entry to be set without hitting the minimum length.
* (bug 13140) Show parent categories in category namespace
* (bug 13149) Correctly format 'fileexists' message on Upload page.
* Make filepageexists accurate.
+* (bug 12988) $wgMinimalPasswordLength no longer breaks create user by email
=== API changes in 1.13 ===
return false;
} else {
# do not force a password for account creation by email
- # set pseudo password, it will be replaced later by a random generated password
- $this->mPassword = '-';
+ # set invalid password, it will be replaced later by a random generated password
+ $this->mPassword = null;
}
}