alter table statement for rc_ip
[lhc/web/wiklou.git] / LocalSettings.sample
index 627b045..68ec52c 100644 (file)
 # here, otherwise your settings will be overwritten with your
 # next update.
 
+# 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 
@@ -40,6 +44,8 @@ $wgSitename         = "MediaWiki";
 
 # Normally the server will be auto-detected, but you can
 # force the base URL. Don't forget http:// (or https://)!
+# If you are running php as CGI, the $_SERVER variable might
+# not be set, you will then need to manually set $wgServer
 #
 #$wgServer           = "http://www.myhost.com";
 
@@ -52,17 +58,17 @@ $wgRedirectScript   = "{$wgScriptPath}/redirect.php";
 # ArticlePath one is especially useful if you want to use
 # mod_redirect to make page-viewing URLs look static.
 #
-$wgArticlePath      = "{$wgScript}?title=$1";
+$wgArticlePath      = "{$wgScript}/$1";
 # $wgArticlePath     = "/wiki/$1"; # Prettier if you're setup for it
 
 ## Normally you don't need to change these once the above are set...
 #
-$wgStyleSheetPath   = "{$wgScriptPath}/style";
+$wgStylePath   = "{$wgScriptPath}/style";
 $wgStyleSheetDirectory = "{$IP}/style";
 
 $wgUploadPath       = "{$wgScriptPath}/upload";
 $wgUploadDirectory     = "{$IP}/upload";
-$wgLogo                                = "{$wgUploadPath}/wiki.png";
+$wgLogo                                = "{$wgStylePath}/images/wiki.png";
 
 ## Preferably these addresses should be able to receive mail asking for help
 #
@@ -102,6 +108,13 @@ $wgDBminWordLen            = 3;     # Match this to your MySQL fulltext
 # $wgDBmysql4                  = true;
 # $wgEnablePersistentLC        = true;
 
+## You can customize the interface messages through the wiki;
+## see [[MediaWiki:All pages]]. (This requires a sysop account.)
+## This causes a performance hit, though; if you don't need it,
+## feel free to turn it off:
+#
+# $wgUseDatabaseMessages = false;
+
 ## Set $wgUseImageResize to true if you want to enable dynamic
 ## server side image resizing ("Thumbnails")
 # 
@@ -141,6 +154,10 @@ $wgLocalInterwiki   = $wgSitename;
 # $wgInputEncoding     = "UTF-8";
 # $wgOutputEncoding    = "UTF-8";
 
+## Default skin: you can change the default skin. Use the internal symbolic
+## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
+# $wgDefaultSkin = 'monobook';
+
 ## Extremely high-traffic wikis may want to disable
 ## some database-intensive features here:
 #
@@ -153,8 +170,8 @@ $wgLocalInterwiki   = $wgSitename;
 #
 # If wgWhitelistEdit is set to true, only logged in users
 # are allowed to edit articles.
-# If wgWhitelistRead is set to true, only logged in users
-# are allowed to read articles.
+# If wgWhitelistRead is set to an array of page names, only logged in users
+# are allowed to read pages *not in the list*.
 #
 # wgWhitelistAccount lists user types that can add user accounts:
 # "key" => 1 defines permission if user has right "key".
@@ -168,7 +185,7 @@ $wgLocalInterwiki   = $wgSitename;
 #
 # Invitation-only closed shop type of system
 # $wgWhitelistEdit = true;
-# $wgWhitelistRead = true;
+# $wgWhitelistRead = array ( ":Main_Page" );
 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
 #
 # Public website, closed editorial team
@@ -192,4 +209,4 @@ $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');
-?>
\ No newline at end of file
+?>