Clarify that wgDBport is not for mysql, make explicit sections.
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Fri, 11 May 2007 18:44:51 +0000 (18:44 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Fri, 11 May 2007 18:44:51 +0000 (18:44 +0000)
config/index.php

index d036e8c..6ed2b40 100644 (file)
@@ -1465,19 +1465,21 @@ if ( \$wgCommandLineMode ) {
 \$wgDBname           = \"{$slconf['DBname']}\";
 \$wgDBuser           = \"{$slconf['DBuser']}\";
 \$wgDBpassword       = \"{$slconf['DBpassword']}\";
-\$wgDBport           = \"{$slconf['DBport']}\";
+
+# MySQL specific settings
 \$wgDBprefix         = \"{$slconf['DBprefix']}\";
 
 # MySQL table options to use during installation or update
 \$wgDBTableOptions   = \"{$slconf['DBTableOptions']}\";
 
-# Schemas for Postgres
-\$wgDBmwschema       = \"{$slconf['DBmwschema']}\";
-\$wgDBts2schema      = \"{$slconf['DBts2schema']}\";
-
 # Experimental charset support for MySQL 4.1/5.0.
 \$wgDBmysql5 = {$conf->DBmysql5};
 
+# Postgres specific settings
+\$wgDBport           = \"{$slconf['DBport']}\";
+\$wgDBmwschema       = \"{$slconf['DBmwschema']}\";
+\$wgDBts2schema      = \"{$slconf['DBts2schema']}\";
+
 ## Shared memory settings
 \$wgMainCacheType = $cacheType;
 \$wgMemCachedServers = $mcservers;