Merge "installer: Define $wgResourceBasePath in LocalSettings.php"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Fri, 23 Oct 2015 22:16:20 +0000 (22:16 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Fri, 23 Oct 2015 22:16:20 +0000 (22:16 +0000)
includes/installer/LocalSettingsGenerator.php

index 5a2dd1a..d4f4938 100644 (file)
@@ -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']}\";