X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=LocalSettings.sample;h=41e6d5d5b2727edf8418e1d4774d7e16babc606f;hb=ce01f4f3208f2d7254ce08bdfaa565ddfb85b691;hp=f0ac8e48a87eb6b7340d4c2d13b2505de18604cd;hpb=d82c14fb4fbac288b42ca5918b0a72f33ecb1e69;p=lhc%2Fweb%2Fwiklou.git diff --git a/LocalSettings.sample b/LocalSettings.sample index f0ac8e48a8..41e6d5d5b2 100644 --- a/LocalSettings.sample +++ b/LocalSettings.sample @@ -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; + ?>