X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=LocalSettings.sample;h=68ec52c3d0713db93767013bf6f20756ed6d206b;hb=2650e923615dbabf7019b1369677268a4971a318;hp=3046303351d93a57b89f1e50d3a20c2596961989;hpb=8d3f9999c33e5c1d23c082890cbafd25b6f2d291;p=lhc%2Fweb%2Fwiklou.git diff --git a/LocalSettings.sample b/LocalSettings.sample index 3046303351..68ec52c3d0 100644 --- a/LocalSettings.sample +++ b/LocalSettings.sample @@ -16,6 +16,10 @@ # here, otherwise your settings will be overwritten with your # next update. +# 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 @@ -40,6 +44,8 @@ $wgSitename = "MediaWiki"; # Normally the server will be auto-detected, but you can # force the base URL. Don't forget http:// (or https://)! +# If you are running php as CGI, the $_SERVER variable might +# not be set, you will then need to manually set $wgServer # #$wgServer = "http://www.myhost.com"; @@ -57,12 +63,12 @@ $wgArticlePath = "{$wgScript}/$1"; ## Normally you don't need to change these once the above are set... # -$wgStyleSheetPath = "{$wgScriptPath}/style"; +$wgStylePath = "{$wgScriptPath}/style"; $wgStyleSheetDirectory = "{$IP}/style"; $wgUploadPath = "{$wgScriptPath}/upload"; $wgUploadDirectory = "{$IP}/upload"; -$wgLogo = "{$wgUploadPath}/wiki.png"; +$wgLogo = "{$wgStylePath}/images/wiki.png"; ## Preferably these addresses should be able to receive mail asking for help # @@ -148,6 +154,10 @@ $wgLocalInterwiki = $wgSitename; # $wgInputEncoding = "UTF-8"; # $wgOutputEncoding = "UTF-8"; +## Default skin: you can change the default skin. Use the internal symbolic +## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook': +# $wgDefaultSkin = 'monobook'; + ## Extremely high-traffic wikis may want to disable ## some database-intensive features here: # @@ -160,8 +170,8 @@ $wgLocalInterwiki = $wgSitename; # # 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. +# If wgWhitelistRead is set to an array of page names, only logged in users +# are allowed to read pages *not in the list*. # # wgWhitelistAccount lists user types that can add user accounts: # "key" => 1 defines permission if user has right "key". @@ -175,7 +185,7 @@ $wgLocalInterwiki = $wgSitename; # # Invitation-only closed shop type of system # $wgWhitelistEdit = true; -# $wgWhitelistRead = true; +# $wgWhitelistRead = array ( ":Main_Page" ); # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 ); # # Public website, closed editorial team @@ -199,4 +209,4 @@ $wgLocalInterwiki = $wgSitename; # 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 +?>