X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=LocalSettings.sample;h=b78d3f07969dd3e4577ab12723a5c185f7a75fae;hb=8261be47dd5d55893a412a66247c7757ca505b43;hp=68ec52c3d0713db93767013bf6f20756ed6d206b;hpb=a1e7fce5619a0e9b05586863539ff8a8a11a5ae6;p=lhc%2Fweb%2Fwiklou.git diff --git a/LocalSettings.sample b/LocalSettings.sample index 68ec52c3d0..b78d3f0796 100644 --- a/LocalSettings.sample +++ b/LocalSettings.sample @@ -5,12 +5,12 @@ # configuration preferences. The install script will copy it to # the installation path, but a copy should also remain in the # source tree so that maintenance scripts can refer to it (you -# may want to make it a symbolic link after installation). +# may want to make it a symbolic link after installation). # Developers: Do not check LocalSettings.php into CVS! Make # changes to LocalSettings.sample instead. -# Note that you will find many more settings in +# Note that you will find many more settings in # includes/DefaultSettings.php - if you want to change any of # them, copy the variables into LocalSettings.php, and change them # here, otherwise your settings will be overwritten with your @@ -19,22 +19,24 @@ # 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 +# dir should be set as the DocumentRoot in the httpd.conf # configuration file of Apache. To put it more simply: # The directory below needs to be accessible in some way # through your web browser. # $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"; @@ -86,9 +88,9 @@ $wgPasswordSender = "Wikipedia Mail "; # your existing username and password. Be sure this # file doesn't get left around on the web legible... # -# $wgDBsqluser is used for queries through the +# $wgDBsqluser is used for queries through the # web interface. It is also created by the script. -# Unlike the regular user, it has no write +# Unlike the regular user, it has no write # permissions and can not access passwords. # $wgDBserver = "localhost"; @@ -98,9 +100,12 @@ $wgDBpassword = "userpass"; # Use a better password! ;) $wgDBsqluser = "sqluser"; $wgDBsqlpassword = "sqlpass"; -## Advanced DB settings +## Minimum word length for the full-text search. +## NOTICE: Changing this value does not suffice. You must +## also change the corresponding setting in MySQL itself. +## See the MySQL manual for information on how to do so. # -$wgDBminWordLen = 3; # Match this to your MySQL fulltext +$wgDBminWordLen = 3; ## Set these to true to turn on some optimizations when using ## MySQL 4.x: @@ -117,7 +122,7 @@ $wgDBminWordLen = 3; # Match this to your MySQL fulltext ## Set $wgUseImageResize to true if you want to enable dynamic ## server side image resizing ("Thumbnails") -# +# # $wgUseImageResize = true; ## Resizing can be done using PHP's internal image libraries @@ -166,7 +171,7 @@ $wgLocalInterwiki = $wgSitename; # $wgMiserMode = true; ## The following three config variables are used to define -## the rights of users in your system. +## the rights of users in your system. # # If wgWhitelistEdit is set to true, only logged in users # are allowed to edit articles. @@ -202,7 +207,7 @@ $wgLocalInterwiki = $wgSitename; # $wgUseESI = true; # Internal server name as known to Squid, if different # $wgInternalServer = 'http://yourinternal.tld:8000'; -# Cache timeout for the squid, will be sent as s-maxage (without ESI) or +# Cache timeout for the squid, will be sent as s-maxage (without ESI) or # Surrogate-Control (with ESI). Without ESI, you should strip out s-maxage in the Squid config. # 18000 seconds = 5 hours, more cache hits with 2678400 = 31 days # $wgSquidMaxage = 18000;