Last modified: 2011-01-06 22:44:01 UTC
Some providers use a hyphen as part of the databasenames (e.g. hosteurope.de). Example: dbxxxx-yyyy The "dbxxxx-" cannot be changed by the user, it's fixed. The mediawiki installation script breaks with an error (invalid database name). In my case, an older mediawiki-database exists, but cannot be upgraded with the new installer, clean install won't work either.
the regexp in "/includes/installer/MysqlInstaller.php" line 79: <code>} elseif ( !preg_match( '/^[a-zA-Z0-9_]+$/', $newValues['wgDBname'] ) ) {</code> should allow "-" as part of wgDMname
*** Bug 26348 has been marked as a duplicate of this bug. ***
The error message would also need to be changed. So really need to check and see whether Postgres will also allow that character
Fixed in r79767.