Revert the dbname -> dbName part of r90430. dbname actually dates back to r32578...
authorTim Starling <tstarling@users.mediawiki.org>
Mon, 20 Jun 2011 07:40:07 +0000 (07:40 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Mon, 20 Jun 2011 07:40:07 +0000 (07:40 +0000)
includes/db/Database.php
includes/extauth/MediaWiki.php
includes/extauth/vB.php
includes/filerepo/ForeignDBRepo.php

index 78d31a4..eec3ddf 100644 (file)
@@ -604,7 +604,7 @@ abstract class DatabaseBase implements DatabaseType {
         *
         * @param $dbType String A possible DB type
         * @param $p Array An array of options to pass to the constructor.
-        *    Valid options are: host, user, password, dbName, flags, tablePrefix
+        *    Valid options are: host, user, password, dbname, flags, tablePrefix
         * @return DatabaseBase subclass or null
         */
        public final static function factory( $dbType, $p = array() ) {
@@ -619,7 +619,7 @@ abstract class DatabaseBase implements DatabaseType {
                                isset( $p['host'] ) ? $p['host'] : false,
                                isset( $p['user'] ) ? $p['user'] : false,
                                isset( $p['password'] ) ? $p['password'] : false,
-                               isset( $p['dbName'] ) ? $p['dbName'] : false,
+                               isset( $p['dbname'] ) ? $p['dbname'] : false,
                                isset( $p['flags'] ) ? $p['flags'] : 0,
                                isset( $p['tablePrefix'] ) ? $p['tablePrefix'] : 'get from global'
                        );
index 062d590..0a5efae 100644 (file)
@@ -94,7 +94,7 @@ class ExternalUser_MediaWiki extends ExternalUser {
                                'host'        => $wgExternalAuthConf['DBserver'],
                                'user'        => $wgExternalAuthConf['DBuser'],
                                'password'    => $wgExternalAuthConf['DBpassword'],
-                               'dbName'      => $wgExternalAuthConf['DBname'],
+                               'dbname'      => $wgExternalAuthConf['DBname'],
                                'tablePrefix' => $wgExternalAuthConf['DBprefix'],
                        )
                );
index ff0dcb5..f516c42 100644 (file)
@@ -33,7 +33,7 @@
  *       'server' => 'localhost',
  *       'username' => 'forum',
  *       'password' => 'udE,jSqDJ<""p=fI.K9',
- *       'dbName' => 'forum',
+ *       'dbname' => 'forum',
  *       'tablePrefix' => '',
  *       'cookieprefix' => 'bb'
  *   );
@@ -107,7 +107,7 @@ class ExternalUser_vB extends ExternalUser {
                        $wgExternalAuthConf['server'],
                        $wgExternalAuthConf['username'],
                        $wgExternalAuthConf['password'],
-                       $wgExternalAuthConf['dbName'],
+                       $wgExternalAuthConf['dbname'],
                        0,
                        $wgExternalAuthConf['tablePrefix']
                );
index 8791137..0311ebc 100644 (file)
@@ -40,7 +40,7 @@ class ForeignDBRepo extends LocalRepo {
                                        'host' => $this->dbServer,
                                        'user'   => $this->dbUser,
                                        'password' => $this->dbPassword,
-                                       'dbName' => $this->dbName,
+                                       'dbname' => $this->dbName,
                                        'flags' => $this->dbFlags,
                                        'tablePrefix' => $this->tablePrefix
                                )