r63998 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63997‎ | r63998 | r63999 >
Date:14:50, 21 March 2010
Author:platonides
Status:ok
Tags:
Comment:
Directly grab the default installer values from DefaultSettings, so they stay in sync.
Modified paths:
  • /trunk/phase3/config/Installer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/config/Installer.php
@@ -613,9 +613,9 @@
614614 $conf->DBtype = $DefaultDBtype;
615615 }
616616
617 - $conf->DBserver = importPost( "DBserver", "localhost" );
618 - $conf->DBname = importPost( "DBname", "wikidb" );
619 - $conf->DBuser = importPost( "DBuser", "wikiuser" );
 617+ $conf->DBserver = importPost( "DBserver", $wgDBserver );
 618+ $conf->DBname = importPost( "DBname", $wgDBname );
 619+ $conf->DBuser = importPost( "DBuser", $wgDBuser );
620620 $conf->DBpassword = importPost( "DBpassword" );
621621 $conf->DBpassword2 = importPost( "DBpassword2" );
622622 $conf->SysopName = importPost( "SysopName", "WikiSysop" );
@@ -632,7 +632,7 @@
633633 importPost( "DBengine", "InnoDB" ) );
634634
635635 ## Postgres specific:
636 - $conf->DBport = importPost( "DBport", "5432" );
 636+ $conf->DBport = importPost( "DBport", $wgDBport );
637637 $conf->DBts2schema = importPost( "DBts2schema", "public" );
638638 $conf->DBpgschema = importPost( "DBpgschema", "mediawiki" );
639639

Status & tagging log