From: Benjamin Lees Date: Sun, 25 Oct 2009 21:13:56 +0000 (+0000) Subject: Add $wgStylePath and $wgLogo to the default LocalSettings.php file to make things... X-Git-Tag: 1.31.0-rc.0~39109 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=2ed353226e93786b47d943f793806a95aa216ddf;p=lhc%2Fweb%2Fwiklou.git Add $wgStylePath and $wgLogo to the default LocalSettings.php file to make things less confusing for newbies (see thread.gmane.org/gmane.org.wikimedia.mediawiki/32414). --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f1bf3f7beb..72eec62a16 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -261,6 +261,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN or ExtUser-driven requests. * (bug 3480) The warning saying that the page has a history when deleting it now contains the number of revisions in the history +* $wgStylePath and $wgLogo are now set in the default LocalSettings.php file. === Bug fixes in 1.16 === diff --git a/config/Installer.php b/config/Installer.php index 9bb7550f1a..35cd63f781 100644 --- a/config/Installer.php +++ b/config/Installer.php @@ -1956,6 +1956,13 @@ if ( \$wgCommandLineMode ) { \$wgScriptPath = \"{$slconf['ScriptPath']}\"; \$wgScriptExtension = \"{$slconf['ScriptExtension']}\"; +## The relative URL path to the skins directory +\$wgStylePath = \"\$wgScriptPath/skins\"; + +## The relative URL path to the logo. Make sure you change this from the default, +## or else you'll overwrite your logo when you upgrade! +\$wgLogo = \"\$wgStylePath/common/images/wiki.png\"; + ## UPO means: this is also a user preference option \$wgEnableEmail = $enableemail;