Merge "installer: Remove additional newline in LocalSettings.php"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sun, 25 Oct 2015 20:33:04 +0000 (20:33 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sun, 25 Oct 2015 20:33:04 +0000 (20:33 +0000)
1  2 
includes/installer/LocalSettingsGenerator.php

@@@ -287,7 -287,7 +287,7 @@@ class LocalSettingsGenerator 
                $serverSetting = "";
                if ( array_key_exists( 'wgServer', $this->values ) && $this->values['wgServer'] !== null ) {
                        $serverSetting = "\n## The protocol and server name to use in fully-qualified URLs\n";
-                       $serverSetting .= "\$wgServer = \"{$this->values['wgServer']}\";\n";
+                       $serverSetting .= "\$wgServer = \"{$this->values['wgServer']}\";";
                }
  
                switch ( $this->values['wgMainCacheType'] ) {
@@@ -334,10 -334,7 +334,10 @@@ if ( !defined( 'MEDIAWIKI' ) ) 
  \$wgScriptPath = \"{$this->values['wgScriptPath']}\";
  ${serverSetting}
  
 -## The relative URL path to the logo.  Make sure you change this from the default,
 +## The URL path to static resources (images, scripts, etc.)
 +\$wgResourceBasePath = \$wgScriptPath;
 +
 +## The URL path to the logo.  Make sure you change this from the default,
  ## or else you'll overwrite your logo when you upgrade!
  \$wgLogo = \"{$this->values['wgLogo']}\";