Updated the checktrans.php script to be a little more modern and to
[lhc/web/wiklou.git] / LocalSettings.sample
index 1ab1b4b..8be4c13 100644 (file)
@@ -19,7 +19,6 @@
 # You can get some useful informations online at:
 # http://meta.wikipedia.org/wiki/LocalSettings.php
 
-
 # The most important setting is here: $IP is the installation
 # path for the software. In the example below, the htdocs
 # dir should be set as the DocumentRoot in the httpd.conf
 #
 $IP = "/usr/local/apache/htdocs/wiki";
 
-
 ## Don't change this bit; install.php needs it.
 #
 if ( ! isset( $DP ) ) { $DP = $IP; }
 include_once( "$DP/DefaultSettings.php" );
 
+# If you wish to enable third-party extensions, you do that
+# using an include_once statement here. Make sure, however,
+# that DefaultSettings.php (above) is included first.
+
 ## Please customize!
 #
 $wgSitename         = "MediaWiki";
@@ -63,8 +65,8 @@ $wgArticlePath      = "{$wgScript}/$1";
 
 ## Normally you don't need to change these once the above are set...
 #
-$wgStylePath   = "{$wgScriptPath}/style";
-$wgStyleSheetDirectory = "{$IP}/style";
+$wgStylePath   = "{$wgScriptPath}/skins";
+$wgStyleSheetDirectory = "{$IP}/skins";
 
 $wgUploadPath       = "{$wgScriptPath}/upload";
 $wgUploadDirectory     = "{$IP}/upload";
@@ -72,8 +74,8 @@ $wgLogo                               = "{$wgStylePath}/images/wiki.png";
 
 ## Preferably these addresses should be able to receive mail asking for help
 #
-$wgEmergencyContact = "wikiadmin@" . getenv( "SERVER_NAME" );
-$wgPasswordSender      = "Wikipedia Mail <apache@" . getenv( "SERVER_NAME" ) . ">";
+$wgEmergencyContact = "wikiadmin@" . $_SERVER['SERVER_NAME'];
+$wgPasswordSender      = "Wikipedia Mail <apache@" . $_SERVER['SERVER_NAME'] . ">";
 
 # MySQL settings
 #
@@ -118,6 +120,15 @@ $wgDBminWordLen            = 3;
 #
 # $wgUseDatabaseMessages = false;
 
+## The links in the navigation sidebar can be configured.
+## To add a link to the sidebar, add a line like the following
+#
+# $wgNavigationLinks[] = array( 'text' => 'helpdesk', 'href' => 'helpdesk-url' );
+#
+## and create two MediaWiki:-pages with the corresponding names, e.g.
+## MediaWiki:helpdesk="User help desk"
+## MediaWiki:helpdesk-url="YourProject:Help_desk"
+
 ## Set $wgUseImageResize to true if you want to enable dynamic
 ## server side image resizing ("Thumbnails")
 #
@@ -145,6 +156,9 @@ $wgLocalInterwiki   = $wgSitename;
 ## If you want a non-English wiki, add a line like this
 # $wgLanguageCode = "de";
 
+## If you want a different default time zone than UTC, add a line like this
+# $wgLocalTZoffset = -5;       # (EST, for example)
+
 ## Character encoding: normally auto-selected by the language.
 ## English, German, Danish, Dutch, French, Spanish, and Swedish
 ## will be in ISO-8859-1 by default, all other languages in
@@ -188,7 +202,8 @@ $wgLocalInterwiki   = $wgSitename;
 #
 # Invitation-only closed shop type of system
 # $wgWhitelistEdit = true;
-# $wgWhitelistRead = array ( ":Main_Page" );
+# Pages anonymous user may see:
+# $wgWhitelistRead = array ( ":Main_Page", "Special:Userlogin", "Wikipedia:Help");
 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
 #
 # Public website, closed editorial team
@@ -212,4 +227,8 @@ $wgLocalInterwiki   = $wgSitename;
 # A list of proxy servers (ips if possible) to purge on changes
 # don't specify ports here (80 is default)
 # $wgSquidServers = array('127.0.0.1');
+
+# Browser-related setting
+$wgBrowserBlackList = array();
+
 ?>