r22114 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22113‎ | r22114 | r22115 >
Date:18:44, 11 May 2007
Author:greg
Status:old
Tags:
Comment:
Clarify that wgDBport is not for mysql, make explicit sections.
Modified paths:
  • /trunk/phase3/config/index.php (modified) (history)

Diff [purge]

Index: trunk/phase3/config/index.php
@@ -1465,19 +1465,21 @@
14661466 \$wgDBname = \"{$slconf['DBname']}\";
14671467 \$wgDBuser = \"{$slconf['DBuser']}\";
14681468 \$wgDBpassword = \"{$slconf['DBpassword']}\";
1469 -\$wgDBport = \"{$slconf['DBport']}\";
 1469+
 1470+# MySQL specific settings
14701471 \$wgDBprefix = \"{$slconf['DBprefix']}\";
14711472
14721473 # MySQL table options to use during installation or update
14731474 \$wgDBTableOptions = \"{$slconf['DBTableOptions']}\";
14741475
1475 -# Schemas for Postgres
 1476+# Experimental charset support for MySQL 4.1/5.0.
 1477+\$wgDBmysql5 = {$conf->DBmysql5};
 1478+
 1479+# Postgres specific settings
 1480+\$wgDBport = \"{$slconf['DBport']}\";
14761481 \$wgDBmwschema = \"{$slconf['DBmwschema']}\";
14771482 \$wgDBts2schema = \"{$slconf['DBts2schema']}\";
14781483
1479 -# Experimental charset support for MySQL 4.1/5.0.
1480 -\$wgDBmysql5 = {$conf->DBmysql5};
1481 -
14821484 ## Shared memory settings
14831485 \$wgMainCacheType = $cacheType;
14841486 \$wgMemCachedServers = $mcservers;