From: Arne Heizmann Date: Thu, 15 Jul 2004 22:44:07 +0000 (+0000) Subject: Clarify in LocalSettings.sample that setting $wgDBminWordLen is not enough X-Git-Tag: 1.5.0alpha1~2673 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=6db964d36e25410795fbda30f21aabc72dfc9dd9;p=lhc%2Fweb%2Fwiklou.git Clarify in LocalSettings.sample that setting $wgDBminWordLen is not enough --- diff --git a/LocalSettings.sample b/LocalSettings.sample index 68ec52c3d0..1ab1b4bc6f 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 @@ -22,7 +22,7 @@ # 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. @@ -86,9 +86,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 +98,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 +120,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 +169,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 +205,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;