X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=LocalSettings.sample;h=3046303351d93a57b89f1e50d3a20c2596961989;hb=e592d588c40ea8e6ff82eea2fecfba3eca162996;hp=10d228c0062977930787c5f0f60484310968cd96;hpb=3c8ee5be32ae9457a2a221316ec076bfa0b6d9d2;p=lhc%2Fweb%2Fwiklou.git diff --git a/LocalSettings.sample b/LocalSettings.sample index 10d228c006..3046303351 100644 --- a/LocalSettings.sample +++ b/LocalSettings.sample @@ -1,4 +1,4 @@ -"; # MySQL settings # # The user you specify here DOES NOT NEED TO EXIST. -# It is created by the installation script. +# It is created by the installation script, if +# you have root privileges on your database. +# +# IF on the other hand you have only limited privs +# on your DB and have to do a manual install, use +# 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 -# web interface. +# web interface. It is also created by the script. +# Unlike the regular user, it has no write +# permissions and can not access passwords. # $wgDBserver = "localhost"; $wgDBname = "wikidb"; $wgDBuser = "wikiuser"; -$wgDBpassword = "userpass"; +$wgDBpassword = "userpass"; # Use a better password! ;) $wgDBsqluser = "sqluser"; $wgDBsqlpassword = "sqlpass"; -# Advanced DB settings +## Advanced DB settings # $wgDBminWordLen = 3; # Match this to your MySQL fulltext -$wgDBtransactions = false; # Set to true if using InnoDB tables +## Set these to true to turn on some optimizations when using +## MySQL 4.x: # -# Set $wgUseImageResize to true if you want to enable dynamic -# server side image resizing ("Thumbnails") -# -$wgUseImageResize = false; +# $wgDBmysql4 = true; +# $wgEnablePersistentLC = true; -# Resizing can be done using PHP's internal image libraries -# or using ImageMagick. The later supports more file formats -# than PHP, which only supports PNG, GIF, JPG, XBM and WBMP. -# -# Set $wgUseImageMagick to true to use Image Magick instead -# of the builtin functions +## You can customize the interface messages through the wiki; +## see [[MediaWiki:All pages]]. (This requires a sysop account.) +## This causes a performance hit, though; if you don't need it, +## feel free to turn it off: # -$wgUseImageMagick = false; -$wgImageMagickConvertCommand = "/usr/bin/convert"; +# $wgUseDatabaseMessages = false; -# If you want a non-English wiki, add a line like this -# $wgLanguageCode = "de"; +## Set $wgUseImageResize to true if you want to enable dynamic +## server side image resizing ("Thumbnails") +# +# $wgUseImageResize = true; -# Turn this on during database maintenance -# $wgReadOnly = true; +## Resizing can be done using PHP's internal image libraries +## or using ImageMagick. The later supports more file formats +## than PHP, which only supports PNG, GIF, JPG, XBM and WBMP. +## +## Set $wgUseImageMagick to true to use Image Magick instead +## of the builtin functions +# +# $wgUseImageMagick = true; +# $wgImageMagickConvertCommand = "/usr/bin/convert"; -# Turn this on to get HTML debug comments -# $wgDebugComments = true; +## If you have the appropriate support software installed +## you can enable inline LaTeX equations: +# $wgUseTeX = true; +# $wgMathPath = "{$wgUploadPath}/math"; +# $wgMathDirectory = "{$wgUploadDirectory}/math"; +# $wgTmpDirectory = "{$wgUploadDirectory}/tmp"; -$wgUseTeX = false; -$wgUseCategoryMagic = true ; +$wgLocalInterwiki = $wgSitename; -$wgLocalInterwiki = "w"; +## If you want a non-English wiki, add a line like this +# $wgLanguageCode = "de"; -$wgInputEncoding = "ISO-8859-1"; -$wgOutputEncoding = "ISO-8859-1"; +## Character encoding: normally auto-selected by the language. +## English, German, Danish, Dutch, French, Spanish, and Swedish +## will be in ISO-8859-1 by default, all other languages in +## UTF-8 encoding. UTF-8 is more flexible, but some older browsers +## have trouble with it. You can force an English-language wiki +## to UTF-8 by uncommenting the lines below. The other languages +## mentioned above might not work properly this way without +## additional tweaking. +# +# $wgInputEncoding = "UTF-8"; +# $wgOutputEncoding = "UTF-8"; -# Extremely high-traffic wikis may want to disable -# some database-intensive features here: +## 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. +## 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. @@ -125,4 +182,21 @@ $wgOutputEncoding = "ISO-8859-1"; # $wgWhitelistEdit = true; # $wgWhitelistRead = false; # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 ); -?> + + +# Squid-related settings +# +# Enable/disable Squid +# $wgUseSquid = true; +# If you run Squid3 with ESI support, enable this (default:false): +# $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 +# 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; +# A list of proxy servers (ips if possible) to purge on changes +# don't specify ports here (80 is default) +# $wgSquidServers = array('127.0.0.1'); +?> \ No newline at end of file