moved rtl stylesheet to separate style section again, after all other styles to be...
[lhc/web/wiklou.git] / LocalSettings.sample
1 <?php
2 # Local settings work like this: the file LocalSettings.sample
3 # should be copied to LocalSettings.php in the source directory
4 # and edited for your local file system settings and software
5 # configuration preferences. The install script will copy it to
6 # the installation path, but a copy should also remain in the
7 # source tree so that maintenance scripts can refer to it (you
8 # may want to make it a symbolic link after installation).
9
10 # Developers: Do not check LocalSettings.php into CVS! Make
11 # changes to LocalSettings.sample instead.
12
13 # Note that you will find many more settings in
14 # includes/DefaultSettings.php - if you want to change any of
15 # them, copy the variables into LocalSettings.php, and change them
16 # here, otherwise your settings will be overwritten with your
17 # next update.
18
19 # The most important setting is here: $IP is the installation
20 # path for the software. In the example below, the htdocs
21 # dir should be set as the DocumentRoot in the httpd.conf
22 # configuration file of Apache. To put it more simply:
23 # The directory below needs to be accessible in some way
24 # through your web browser.
25 #
26 $IP = "/usr/local/apache/htdocs/wiki";
27
28
29 ## Don't change this bit; install.php needs it.
30 #
31 if ( ! isset( $DP ) ) { $DP = $IP; }
32 include_once( "$DP/DefaultSettings.php" );
33
34 ## Please customize!
35 #
36 $wgSitename = "MediaWiki";
37
38 # You can customize a lot of URLs and paths, but you will
39 # almost certainly want to customize the following. The
40
41 # Normally the server will be auto-detected, but you can
42 # force the base URL. Don't forget http:// (or https://)!
43 # If you are running php as CGI, the $_SERVER variable might
44 # not be set, you will then need to manually set $wgServer
45 #
46 #$wgServer = "http://www.myhost.com";
47
48 ## The location of the main script, you need this to be correct!
49 #
50 $wgScriptPath = "/wiki";
51 $wgScript = "{$wgScriptPath}/index.php";
52 $wgRedirectScript = "{$wgScriptPath}/redirect.php";
53
54 # ArticlePath one is especially useful if you want to use
55 # mod_redirect to make page-viewing URLs look static.
56 #
57 $wgArticlePath = "{$wgScript}/$1";
58 # $wgArticlePath = "/wiki/$1"; # Prettier if you're setup for it
59
60 ## Normally you don't need to change these once the above are set...
61 #
62 $wgStylePath = "{$wgScriptPath}/style";
63 $wgStyleSheetDirectory = "{$IP}/style";
64
65 $wgUploadPath = "{$wgScriptPath}/upload";
66 $wgUploadDirectory = "{$IP}/upload";
67 $wgLogo = "{$wgStylePath}/images/wiki.png";
68
69 ## Preferably these addresses should be able to receive mail asking for help
70 #
71 $wgEmergencyContact = "wikiadmin@" . getenv( "SERVER_NAME" );
72 $wgPasswordSender = "Wikipedia Mail <apache@" . getenv( "SERVER_NAME" ) . ">";
73
74 # MySQL settings
75 #
76 # The user you specify here DOES NOT NEED TO EXIST.
77 # It is created by the installation script, if
78 # you have root privileges on your database.
79 #
80 # IF on the other hand you have only limited privs
81 # on your DB and have to do a manual install, use
82 # your existing username and password. Be sure this
83 # file doesn't get left around on the web legible...
84 #
85 # $wgDBsqluser is used for queries through the
86 # web interface. It is also created by the script.
87 # Unlike the regular user, it has no write
88 # permissions and can not access passwords.
89 #
90 $wgDBserver = "localhost";
91 $wgDBname = "wikidb";
92 $wgDBuser = "wikiuser";
93 $wgDBpassword = "userpass"; # Use a better password! ;)
94 $wgDBsqluser = "sqluser";
95 $wgDBsqlpassword = "sqlpass";
96
97 ## Advanced DB settings
98 #
99 $wgDBminWordLen = 3; # Match this to your MySQL fulltext
100
101 ## Set these to true to turn on some optimizations when using
102 ## MySQL 4.x:
103 #
104 # $wgDBmysql4 = true;
105 # $wgEnablePersistentLC = true;
106
107 ## You can customize the interface messages through the wiki;
108 ## see [[MediaWiki:All pages]]. (This requires a sysop account.)
109 ## This causes a performance hit, though; if you don't need it,
110 ## feel free to turn it off:
111 #
112 # $wgUseDatabaseMessages = false;
113
114 ## Set $wgUseImageResize to true if you want to enable dynamic
115 ## server side image resizing ("Thumbnails")
116 #
117 # $wgUseImageResize = true;
118
119 ## Resizing can be done using PHP's internal image libraries
120 ## or using ImageMagick. The later supports more file formats
121 ## than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
122 ##
123 ## Set $wgUseImageMagick to true to use Image Magick instead
124 ## of the builtin functions
125 #
126 # $wgUseImageMagick = true;
127 # $wgImageMagickConvertCommand = "/usr/bin/convert";
128
129 ## If you have the appropriate support software installed
130 ## you can enable inline LaTeX equations:
131 # $wgUseTeX = true;
132 # $wgMathPath = "{$wgUploadPath}/math";
133 # $wgMathDirectory = "{$wgUploadDirectory}/math";
134 # $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
135
136 $wgLocalInterwiki = $wgSitename;
137
138 ## If you want a non-English wiki, add a line like this
139 # $wgLanguageCode = "de";
140
141 ## Character encoding: normally auto-selected by the language.
142 ## English, German, Danish, Dutch, French, Spanish, and Swedish
143 ## will be in ISO-8859-1 by default, all other languages in
144 ## UTF-8 encoding. UTF-8 is more flexible, but some older browsers
145 ## have trouble with it. You can force an English-language wiki
146 ## to UTF-8 by uncommenting the lines below. The other languages
147 ## mentioned above might not work properly this way without
148 ## additional tweaking.
149 #
150 # $wgInputEncoding = "UTF-8";
151 # $wgOutputEncoding = "UTF-8";
152
153 ## Extremely high-traffic wikis may want to disable
154 ## some database-intensive features here:
155 #
156 # $wgDisableTextSearch = true;
157 # $wgDisableCounters = true;
158 # $wgMiserMode = true;
159
160 ## The following three config variables are used to define
161 ## the rights of users in your system.
162 #
163 # If wgWhitelistEdit is set to true, only logged in users
164 # are allowed to edit articles.
165 # If wgWhitelistRead is set to true, only logged in users
166 # are allowed to read articles.
167 #
168 # wgWhitelistAccount lists user types that can add user accounts:
169 # "key" => 1 defines permission if user has right "key".
170 #
171 # Typical setups are:
172 #
173 # Everything goes (this is the default behaviour):
174 # $wgWhitelistEdit = false;
175 # $wgWhitelistRead = false;
176 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
177 #
178 # Invitation-only closed shop type of system
179 # $wgWhitelistEdit = true;
180 # $wgWhitelistRead = true;
181 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
182 #
183 # Public website, closed editorial team
184 # $wgWhitelistEdit = true;
185 # $wgWhitelistRead = false;
186 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
187
188
189 # Squid-related settings
190 #
191 # Enable/disable Squid
192 # $wgUseSquid = true;
193 # If you run Squid3 with ESI support, enable this (default:false):
194 # $wgUseESI = true;
195 # Internal server name as known to Squid, if different
196 # $wgInternalServer = 'http://yourinternal.tld:8000';
197 # Cache timeout for the squid, will be sent as s-maxage (without ESI) or
198 # Surrogate-Control (with ESI). Without ESI, you should strip out s-maxage in the Squid config.
199 # 18000 seconds = 5 hours, more cache hits with 2678400 = 31 days
200 # $wgSquidMaxage = 18000;
201 # A list of proxy servers (ips if possible) to purge on changes
202 # don't specify ports here (80 is default)
203 # $wgSquidServers = array('127.0.0.1');
204 ?>