Evan's patch for bug 827757: Wikitext not escaped in log entry descriptions
[lhc/web/wiklou.git] / LocalSettings.sample
index e5a82e9..b3cffb6 100644 (file)
@@ -24,28 +24,73 @@ include_once( "$DP/DefaultSettings.php" );
 # mod_redirect to make page-viewing URLs look static.
 #
 $wgServer           = "http://www.myhost.com";
+$wgScriptPath      = "/wiki";
 $wgArticlePath      = "{$wgScript}?title=$1";
 $wgEmergencyContact = "wikiadmin@myhost.com";
 
 # MySQL settings
 #
 $wgDBserver         = "localhost";
+$wgDBuser           = "wikiuser";
 $wgDBname           = "wikidb";
 $wgDBpassword       = "userpass";
 $wgDBsqlpassword       = "sqlpass";
 $wgDBminWordLen                = 3;     # Match this to your MySQL fulltext
 $wgDBtransactions   = false; # Set to true if using InnoDB tables
 
+# This code is still slightly experimental. Turn it off if "What links here"
+# and similar stuff does not work.
+$wgUseBetterLinksUpdate=true;
+
 # 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;
+
+# The following three config variables are used to define
+# the rights of users in your system. 
+#
+# 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.
+#
+# wgWhitelistAccount lists user types that can add user accounts:
+# "key" => 1 defines permission if user has right "key".
+#
+# Typical setups are:
+#
+# Everything goes (this is the default behaviour):
+# $wgWhitelistEdit = false;
+# $wgWhitelistRead = false;
+# $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
+#
+# Invitation-only closed shop type of system
+# $wgWhitelistEdit = true;
+# $wgWhitelistRead = true;
+# $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
+#
+# Public website, closed editorial team
+# $wgWhitelistEdit = true;
+# $wgWhitelistRead = false;
+# $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
 ?>