Set the default database schema to "mediawiki" so as not to break the CLI installer.
authorSkizzerz <skizzerz@gmail.com>
Fri, 27 Jun 2014 01:17:05 +0000 (20:17 -0500)
committerLegoktm <legoktm.wikipedia@gmail.com>
Wed, 9 Jul 2014 00:20:36 +0000 (00:20 +0000)
commit30a82aae9cf7e5536eef761637a1277b7c18017e
treee4c0b80d8b7c8db6ce56046e72738b7e6f1aceec
parent1e10fcca50a179a7e8cfce5507c041aacb059e01
Set the default database schema to "mediawiki" so as not to break the CLI installer.

Due to changes made to support Microsoft SQL Server, $wgDBmwschema changed its default from
"mediawiki" to null in DefaultSettings.php, as anything else horribly broke every DBMS that did
not use schemas (such as MySQL and SQLite). This change makes it so that the default value can
be properly overridden again by PostgreSQL and Microsoft SQL Server, and also enables the
--dbschema flag to the CLI installer.

Bug: 64043
Change-Id: Id364306d883e0d494b948854e05f3f79ba7dd6d2
includes/db/DatabaseMssql.php
includes/installer/Installer.php
includes/installer/MssqlInstaller.php
includes/installer/PostgresInstaller.php
maintenance/install.php