TOC has been displayed regardless of user setting "showtoc". Fixed.
[lhc/web/wiklou.git] / LocalSettings.sample
index f0ac8e4..41e6d5d 100644 (file)
@@ -15,8 +15,6 @@
 
 $IP = "/usr/local/apache/htdocs/wiki";
 
-# This workaround is for the maintenance scripts:
-#
 if ( ! isset( $DP ) ) { $DP = $IP; }
 include_once( "$DP/DefaultSettings.php" );
 
@@ -31,23 +29,41 @@ $wgEmergencyContact = "wikiadmin@myhost.com";
 
 # MySQL settings
 #
-$wgDBserver         = "127.0.0.1";
+$wgDBserver         = "localhost";
+$wgDBuser           = "wikiuser";
 $wgDBname           = "wikidb";
 $wgDBpassword       = "userpass";
-#wgDBsqlpassword       = "sqlpass";
+$wgDBsqlpassword       = "sqlpass";
 $wgDBminWordLen                = 3;     # Match this to your MySQL fulltext
 $wgDBtransactions   = false; # Set to true if using InnoDB tables
 
+# Change this key to different sequence of 8 bytes, so that sysops cannot 
+# obtain the IP addresses of logged-in users.
+$wgIPBlockKey = implode( "", array_map( "chr", 
+       array( 57, 100, 182, 241, 93, 122, 40, 195 ) ) );
+
 # Turn this on during database maintenance
 # $wgReadOnly = true;
 
 # Turn this on to get HTML debug comments
 # $wgDebugComments     = true;
 
+# If you want a non-English wiki, add a line like this
+# $wgLanguageCode = "de";
+
 $wgUseTeX                      = false;
+$wgUseCategoryMagic = true ;
+
 $wgLocalInterwiki   = "w";
 
 $wgInputEncoding       = "ISO-8859-1";
 $wgOutputEncoding      = "ISO-8859-1";
 
+# Extremely high-traffic wikis may want to disable
+# some database-intensive features here:
+#
+# $wgDisableTextSearch = true;
+# $wgDisableCounters = true;
+# $wgMiserMode         = true;
+
 ?>