BUG#419 Added global variable that defines the elements of the navigation sidebar.
[lhc/web/wiklou.git] / includes / DefaultSettings.php
1 <?php
2 /**
3 * DO NOT EDIT THIS FILE!
4 *
5 * To customize your installation, edit "LocalSettings.php".
6 *
7 * Note that since all these string interpolations are expanded
8 * before LocalSettings is included, if you localize something
9 * like $wgScriptPath, you must also localize everything that
10 * depends on it.
11 *
12 * @version $Id$
13 * @package MediaWiki
14 */
15
16 # This is not a valid entry point, perform no further processing unless MEDIAWIKI is defined
17 if( defined( 'MEDIAWIKI' ) ) {
18
19 /**
20 * MediaWiki version number
21 * @global string $wgVersion
22 */
23 $wgVersion = '1.4-prealpha';
24
25 /**
26 * Name of the site.
27 * It must be changed in LocalSettings.php
28 * @global string $wgSitename
29 */
30 $wgSitename = 'MediaWiki';
31
32 /**
33 * Will be same as you set @see $wgSitename
34 * @global mixed $wgMetaNamespace
35 */
36 $wgMetaNamespace = FALSE;
37
38
39 /**
40 * URL of the server
41 * It will be automaticly build including https mode
42 * @global string $wgServer
43 */
44 $wgServer = '';
45 # check if server use https:
46 $wgProto = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') ? 'https' : 'http';
47
48 if ( @$wgCommandLineMode ) {
49 $wgServer = $wgProto.'://localhost';
50 } else {
51 $wgServer = $wgProto.'://' . $_SERVER['SERVER_NAME'];
52 if( $_SERVER['SERVER_PORT'] != 80 ) $wgServer .= ":" . $_SERVER['SERVER_PORT'];
53 }
54 unset($wgProto);
55
56
57 /**
58 * The path we should point to.
59 * It might be a virtual path in case with use apache mod_rewrite for example
60 * @global string $wgScriptPath
61 */
62 $wgScriptPath = '/wiki';
63
64 /**
65 * Whether to support URLs like index.php/Page_title
66 * @global bool $wgUsePathInfo
67 */
68 $wgUsePathInfo = ( strpos( php_sapi_name(), 'cgi' ) === false );
69
70
71 /**#@+
72 * Script users will request to get articles
73 * ATTN: Old installations used wiki.phtml and redirect.phtml -
74 * make sure that LocalSettings.php is correctly set!
75 * @deprecated
76 */
77 /**
78 * @global string $wgScript
79 */
80 $wgScript = "{$wgScriptPath}/index.php";
81 /**
82 * @global string $wgRedirectScript
83 */
84 $wgRedirectScript = "{$wgScriptPath}/redirect.php";
85 /**#@-*/
86
87
88 /**#@+
89 * @global string
90 */
91 /**
92 * style path as seen by users
93 * @global string $wgStylePath
94 */
95 $wgStylePath = "{$wgScriptPath}/skins";
96 /**
97 * filesystem stylesheets directory
98 * @global string $wgStyleDirectory
99 */
100 $wgStyleDirectory = "{$IP}/skins";
101 $wgStyleSheetPath = &$wgStylePath;
102 $wgStyleSheetDirectory = &$wgStyleDirectory;
103 $wgArticlePath = "{$wgScript}?title=$1";
104 $wgUploadPath = "{$wgScriptPath}/upload";
105 $wgUploadDirectory = "{$IP}/upload";
106 $wgLogo = "{$wgUploadPath}/wiki.png";
107 $wgMathPath = "{$wgUploadPath}/math";
108 $wgMathDirectory = "{$wgUploadDirectory}/math";
109 $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
110 $wgUploadBaseUrl = "";
111 /**#@-*/
112
113
114 # Email settings
115 #
116 /**
117 * Site admin email address
118 * Default to wikiadmin@SERVER_NAME
119 * @global string $wgEmergencyContact
120 */
121 $wgEmergencyContact = 'wikiadmin@' . $_SERVER['SERVER_NAME'];
122
123 /**
124 * Password reminder email address
125 * The address we should use as sender when a user is requesting his password
126 * Default to apache@SERVER_NAME
127 * @global string $wgPasswordSender
128 */
129 $wgPasswordSender = 'Wikipedia Mail <apache@' . $_SERVER['SERVER_NAME'] . '>';
130
131
132 /**
133 * SMTP Mode
134 * For using a direct (authenticated) SMTP server connection.
135 * Default to false or fill an array :
136 * <code>
137 * "host" => 'SMTP domain',
138 * "IDHost" => 'domain for MessageID',
139 * "port" => "25",
140 * "auth" => true/false,
141 * "username" => user,
142 * "password" => password
143 * </code>
144 *
145 * @global mixed $wgSMTP
146 */
147 $wgSMTP = false;
148
149
150 /**#@+
151 * Database settings
152 */
153 /** database host name or ip address */
154 $wgDBserver = 'localhost';
155 /** name of the database */
156 $wgDBname = 'wikidb';
157 /** */
158 $wgDBconnection = '';
159 /** Database username */
160 $wgDBuser = 'wikiuser';
161 /** Database type
162 * "mysql" for working code and "PostgreSQL" for development/broken code
163 */
164 $wgDBtype = "mysql";
165 /** Search type
166 * "MyISAM" for MySQL native full text search, "Tsearch2" for PostgreSQL
167 * based search engine
168 */
169 $wgSearchType = "MyISAM";
170 /** Table name prefix */
171 $wgDBprefix = '';
172 /** Database schema
173 * on some databases this allows separate
174 * logical namespace for application data
175 */
176 $wgDBschema = 'mediawiki';
177 /**#@-*/
178
179
180
181 # Shared database for multiple wikis.
182 # Presently used for storing a user table for single sign-on
183 # The server for this database must be the same as for the main
184 # database.
185 # EXPERIMENTAL
186 # $wgSharedDB='';
187
188 # Database load balancer
189 # This is a two-dimensional array, an array of server info structures
190 # Fields are:
191 # host: Host name
192 # dbname: Default database name
193 # user: DB user
194 # password: DB password
195 # type: "mysql" or "pgsql"
196 # load: ratio of DB_SLAVE load, must be >=0, the sum of all loads must be >0
197 # flags: bit field
198 # DBO_DEFAULT -- turns on DBO_TRX only if !$wgCommandLineMode (recommended)
199 # DBO_DEBUG -- equivalent of $wgDebugDumpSql
200 # DBO_TRX -- wrap entire request in a transaction
201 # DBO_IGNORE -- ignore errors (not useful in LocalSettings.php)
202 # DBO_NOBUFFER -- turn off buffering (not useful in LocalSettings.php)
203 #
204 # Leave at false to use the single-server variables above
205 $wgDBservers = false;
206
207 # Sysop SQL queries
208 # The sql user shouldn't have too many rights other the database, restrict
209 # it to SELECT only on 'cur' table for example
210 #
211 $wgAllowSysopQueries = false; # Dangerous if not configured properly.
212 $wgDBsqluser = 'sqluser';
213 $wgDBsqlpassword = 'sqlpass';
214 $wgDBpassword = 'userpass';
215 $wgSqlLogFile = "{$wgUploadDirectory}/sqllog_mFhyRe6";
216 $wgDBerrorLog = false; # File to log MySQL errors to
217
218 # wgDBminWordLen :
219 # MySQL 3.x : used to discard words that MySQL will not return any results for
220 # shorter values configure mysql directly
221 # MySQL 4.x : ignore it and configure mySQL
222 # See: http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html
223 $wgDBminWordLen = 4;
224 $wgDBtransactions = false; # Set to true if using InnoDB tables
225 $wgDBmysql4 = false; # Set to true to use enhanced fulltext search
226 $wgSqlTimeout = 30;
227
228 $wgBufferSQLResults = true; # use buffered queries by default
229
230 # Other wikis on this site, can be administered from a single developer account
231 # Array, interwiki prefix => database name
232 $wgLocalDatabases = array();
233
234
235 # Memcached settings
236 # See docs/memcached.doc
237 #
238 $wgMemCachedDebug = false; # Will be set to false in Setup.php, if the server isn't working
239 $wgUseMemCached = false;
240 $wgMemCachedServers = array( '127.0.0.1:11000' );
241 $wgMemCachedDebug = false;
242 $wgSessionsInMemcached = false;
243 $wgLinkCacheMemcached = false; # Not fully tested
244
245 /**
246 * Turck MMCache shared memory
247 * You can use this for persistent caching where your wiki runs on a small
248 * number of servers. Mutually exclusive with memcached. MMCache must be
249 * installed.
250 *
251 * @global bool $wgUseTurckShm Enable or disabled Turck MMCache
252 */
253 $wgUseTurckShm = false;
254
255
256 # Language settings
257 #
258 /**
259 * Site language code
260 * Default to 'en'. Should be one of ./language/Language(.*).php
261 * @global string $wgLanguageCode
262 */
263 $wgLanguageCode = 'en';
264
265 /**
266 * Filename of a language file generated by dumpMessages.php
267 * @global string|false $wgLanguageFile (default:false)
268 */
269 $wgLanguageFile = false;
270 /**
271 * Treat language links as magic connectors, not inline links
272 * @global bool $wgInterwikiMagic (default:true)
273 */
274 $wgInterwikiMagic = true;
275 $wgInputEncoding = 'ISO-8859-1'; # LanguageUtf8.php normally overrides this
276 $wgOutputEncoding = 'ISO-8859-1'; # unless you set the next option to true:
277 $wgUseLatin1 = false; # Enable ISO-8859-1 compatibility mode
278 $wgEditEncoding = '';
279 $wgMimeType = 'text/html';
280 $wgDocType = '-//W3C//DTD XHTML 1.0 Transitional//EN';
281 $wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd';
282 $wgUseDynamicDates = false; # Enable to allow rewriting dates in page text
283 # DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES
284 $wgAmericanDates = false; # Enable for English module to print dates
285 # as eg 'May 12' instead of '12 May'
286 $wgTranslateNumerals = true; # For Hindi and Arabic use local numerals instead
287 # of Western style (0-9) numerals in interface.
288
289
290 # Translation using MediaWiki: namespace
291 # This will increase load times by 25-60% unless memcached is installed
292 # Interface messages will be get from the database.
293 $wgUseDatabaseMessages = true;
294 $wgMsgCacheExpiry = 86400;
295
296
297 # Miscellaneous configuration settings
298 #
299
300 $wgLocalInterwiki = 'w';
301 $wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table
302
303 $wgShowIPinHeader = true; # For non-logged in users
304 $wgMaxNameChars = 32; # Maximum number of bytes in username
305
306 $wgExtraSubtitle = '';
307 $wgSiteSupportPage = ''; # A page where you users can receive donations
308
309 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
310 $wgUseData = false ;
311
312 # The debug log file should be not be publicly accessible if it is
313 # used, as it may contain private data.
314 $wgDebugLogFile = '';
315
316 /**#@+
317 * @global bool
318 */
319 $wgDebugRedirects = false;
320 $wgDebugRawPage = false; # Avoid overlapping debug entries by leaving out CSS
321
322 $wgDebugComments = false;
323 $wgReadOnly = false;
324 $wgLogQueries = false;
325 $wgDebugDumpSql = false;
326
327 # Whether to disable automatic generation of "we're sorry,
328 # but there has been a database error" pages.
329 $wgIgnoreSQLErrors = false;
330
331 # Should [[Category:Dog]] on a page associate it with the
332 # category "Dog"? (a link to that category page will be
333 # added to the article, clicking it reveals a list of
334 # all articles in the category)
335 $wgUseCategoryMagic = true;
336
337 # disable experimental dmoz-like category browsing. Output things like:
338 # Encyclopedia > Music > Style of Music > Jazz
339 # FIXME: need fixing
340 $wgUseCategoryBrowser = false;
341
342 $wgEnablePersistentLC = false; # Obsolete, do not use
343 $wgCompressedPersistentLC = true; # use gzcompressed blobs
344 $wgUseOldExistenceCheck = false; # use old prefill link method, for debugging only
345
346 $wgEnableParserCache = false; # requires that php was compiled --with-zlib
347 /**#@-*/
348
349 # wgHitcounterUpdateFreq sets how often page counters should be
350 # updated, higher values are easier on the database. A value of 1
351 # causes the counters to be updated on every hit, any higher value n
352 # cause them to update *on average* every n hits. Should be set to
353 # either 1 or something largish, eg 1000, for maximum efficiency.
354
355 $wgHitcounterUpdateFreq = 1;
356
357 # User rights
358 # It's not 100% safe, there could be security hole using that one. Use at your
359 # own risks.
360
361 $wgWhitelistEdit = false; # true = user must login to edit.
362 $wgWhitelistRead = false; # Pages anonymous user may see, like: = array ( ":Main_Page", "Special:Userlogin", "Wikipedia:Help");
363 $wgWhitelistAccount = array ( 'user' => 1, 'sysop' => 1, 'developer' => 1 );
364
365 $wgAllowAnonymousMinor = false; # Allow anonymous users to mark changes as 'minor'
366
367 $wgSysopUserBans = false; # Allow sysops to ban logged-in users
368 $wgSysopRangeBans = false; # Allow sysops to ban IP ranges
369 $wgDefaultBlockExpiry = '24 hours'; # default expiry time
370 # strtotime format, or "infinite" for an infinite block
371 $wgAutoblockExpiry = 86400; # Number of seconds before autoblock entries expire
372
373 # Proxy scanner settings
374 #
375 $wgBlockOpenProxies = false; # Automatic open proxy test on edit
376 $wgProxyPorts = array( 80, 81, 1080, 3128, 6588, 8000, 8080, 8888, 65506 );
377 $wgProxyScriptPath = "$IP/proxy_check.php";
378 $wgProxyMemcExpiry = 86400;
379 $wgProxyKey = 'W1svekXc5u6lZllTZOwnzEk1nbs';
380 $wgProxyList = array(); # big list of banned IP addresses, in the keys not the values
381
382 # Number of accounts each IP address may create, 0 to disable.
383 # Requires memcached
384 $wgAccountCreationThrottle = 0;
385
386
387 # Client-side caching:
388 $wgCachePages = true; # Allow client-side caching of pages
389
390 # Set this to current time to invalidate all prior cached pages.
391 # Affects both client- and server-side caching.
392 $wgCacheEpoch = '20030516000000';
393
394
395 # Server-side caching:
396 # This will cache static pages for non-logged-in users
397 # to reduce database traffic on public sites.
398 # Must set $wgShowIPinHeader = false
399 $wgUseFileCache = false;
400 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
401
402 # When using the file cache, we can store the cached HTML gzipped to save disk
403 # space. Pages will then also be served compressed to clients that support it.
404 # THIS IS NOT COMPATIBLE with ob_gzhandler which is now enabled if supported in
405 # the default LocalSettings.php! If you enable this, remove that setting first.
406 #
407 # Requires zlib support enabled in PHP.
408 $wgUseGzip = false;
409
410
411 $wgCookieExpiration = 2592000;
412
413
414 # Squid-related settings
415 #
416
417 # Enable/disable Squid
418 $wgUseSquid = false;
419
420 # If you run Squid3 with ESI support, enable this (default:false):
421 $wgUseESI = false;
422
423 # Internal server name as known to Squid, if different
424 # $wgInternalServer = 'http://yourinternal.tld:8000';
425 $wgInternalServer = $wgServer;
426
427 # Cache timeout for the squid, will be sent as s-maxage (without ESI) or
428 # Surrogate-Control (with ESI). Without ESI, you should strip out s-maxage in the Squid config.
429 # 18000 seconds = 5 hours, more cache hits with 2678400 = 31 days
430 $wgSquidMaxage = 18000;
431
432 # A list of proxy servers (ips if possible) to purge on changes
433 # don't specify ports here (80 is default)
434 # $wgSquidServers = array('127.0.0.1');
435
436 # Maximum number of titles to purge in any one client operation
437 $wgMaxSquidPurgeTitles = 400;
438
439
440 # Cookie settings:
441 # Set to set an explicit domain on the login cookies
442 # eg, "justthis.domain.org" or ".any.subdomain.net"
443 $wgCookieDomain = '';
444 $wgCookiePath = '/';
445 $wgDisableCookieCheck = false;
446
447 # Whether to allow inline image pointing to other websites
448 $wgAllowExternalImages = true;
449
450 $wgMiserMode = false; # Disable database-intensive features
451 $wgDisableQueryPages = false; # Disable all query pages if miser mode is on, not just some
452 $wgUseWatchlistCache = false; # Generate a watchlist once every hour or so
453 $wgWLCacheTimeout = 3600; # The hour or so mentioned above
454
455 # To use inline TeX, you need to compile 'texvc' (in the 'math' subdirectory
456 # of the MediaWiki package and have latex, dvips, gs (ghostscript), and
457 # convert (ImageMagick) installed and available in the PATH.
458 # Please see math/README for more information.
459 $wgUseTeX = false;
460 $wgTexvc = './math/texvc'; # Location of the texvc binary
461
462 # Profiling / debugging
463 $wgProfiling = false; # Enable for more detailed by-function times in debug log
464 $wgProfileLimit = 0.0; # Only record profiling info for pages that took longer than this
465 $wgProfileOnly = false; # Don't put non-profiling info into log file
466 $wgProfileToDatabase = false; # Log sums from profiling into "profiling" table in db.
467 $wgProfileSampleRate = 1; # Only profile every n requests when profiling is turned on
468 $wgDebugProfiling = false; # Detects non-matching wfProfileIn/wfProfileOut calls
469 $wgDebugFunctionEntry = 0; # Output debug message on every wfProfileIn/wfProfileOut
470 $wgDebugSquid = false; # Lots of debugging output from SquidUpdate.php
471
472 $wgDisableCounters = false;
473 $wgDisableTextSearch = false;
474 $wgDisableFuzzySearch = false;
475 $wgDisableSearchUpdate = false; # If you've disabled search semi-permanently, this also disables updates to the table. If you ever re-enable, be sure to rebuild the search table.
476 $wgDisableUploads = true; # Uploads have to be specially set up to be secure
477 $wgRemoteUploads = false; # Set to true to enable the upload _link_ while local uploads are disabled. Assumes that the special page link will be bounced to another server where uploads do work.
478 $wgDisableAnonTalk = false;
479
480 # Path to the GNU diff3 utility. If the file doesn't exist,
481 # edit conflicts will fall back to the old behaviour (no merging).
482 $wgDiff3 = '/usr/bin/diff3';
483
484
485 # We can also compress text in the old revisions table. If this is set on,
486 # old revisions will be compressed on page save if zlib support is available.
487 # Any compressed revisions will be decompressed on load regardless of this
488 # setting *but will not be readable at all* if zlib support is not available.
489 $wgCompressRevisions = false;
490
491 # This is the list of preferred extensions for uploading files. Uploading
492 # files with extensions not in this list will trigger a warning.
493 $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'ogg' );
494
495 # Files with these extensions will never be allowed as uploads.
496 $wgFileBlacklist = array(
497 # HTML may contain cookie-stealing JavaScript and web bugs
498 'html', 'htm',
499 # PHP scripts may execute arbitrary code on the server
500 'php', 'phtml', 'php3', 'php4', 'phps',
501 # Other types that may be interpreted by some servers
502 'shtml', 'jhtml', 'pl', 'py',
503 # May contain harmful executables for Windows victims
504 'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );
505
506 # This is a flag to determine whether or not to check file extensions on
507 # upload.
508 $wgCheckFileExtensions = true;
509
510 # If this is turned off, users may override the warning for files not
511 # covered by $wgFileExtensions.
512 $wgStrictFileExtensions = true;
513
514 # Warn if uploaded files are larger than this
515 $wgUploadSizeWarning = 150000;
516
517 $wgPasswordSalt = true; # For compatibility with old installations set to false
518
519 # Which namespaces should support subpages?
520 # See Language.php for a list of namespaces.
521 #
522 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
523 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1, 8 => 0, 9 => 1, 10 => 0, 11 => 1);
524
525 $wgNamespacesToBeSearchedDefault = array( -1 => 0, 0 => 1, 1 => 0,
526 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0, 8 => 0, 9 => 1, 10 => 0, 11 => 1 );
527
528 # If set, a bold ugly notice will show up at the top of every page.
529 $wgSiteNotice = "";
530
531 ## Set $wgUseImageResize to true if you want to enable dynamic
532 ## server side image resizing ("Thumbnails")
533 #
534 $wgUseImageResize = false;
535
536 ## Resizing can be done using PHP's internal image libraries
537 ## or using ImageMagick. The later supports more file formats
538 ## than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
539 ##
540 ## Set $wgUseImageMagick to true to use Image Magick instead
541 ## of the builtin functions
542 #
543 $wgUseImageMagick = false;
544 $wgImageMagickConvertCommand = '/usr/bin/convert';
545
546 # PHPTal is a library for page templates. MediaWiki includes
547 # a recent PHPTal distribution. It is required to use the
548 # Monobook (default) skin.
549 #
550 # Currently it does not work on PHP5.
551 $wgUsePHPTal = version_compare( phpversion(), "5.0", "lt" );
552
553 if( !isset( $wgCommandLineMode ) ) {
554 $wgCommandLineMode = false;
555 }
556
557 # Show seconds in Recent Changes
558 $wgRCSeconds = false;
559
560 # Log IP addresses in the recentchanges table
561 $wgPutIPinRC = false;
562
563 # RDF metadata toggles
564 $wgEnableDublinCoreRdf = false;
565 $wgEnableCreativeCommonsRdf = false;
566
567 # Override for copyright metadata.
568 # TODO: these options need documentation
569 $wgRightsPage = NULL;
570 $wgRightsUrl = NULL;
571 $wgRightsText = NULL;
572 $wgRightsIcon = NULL;
573
574 # Set this to true if you want detailed copyright information forms on Upload.
575 $wgUseCopyrightUpload = false;
576
577 # Set this to false if you want to disable checking that detailed
578 # copyright information values are not empty.
579 $wgCheckCopyrightUpload = true;
580
581
582 # Set this to false to avoid forcing the first letter of links
583 # to capitals. WARNING: may break links! This makes links
584 # COMPLETELY case-sensitive. Links appearing with a capital at
585 # the beginning of a sentence will *not* go to the same place
586 # as links in the middle of a sentence using a lowercase initial.
587 $wgCapitalLinks = true;
588
589 # List of interwiki prefixes for wikis we'll accept as sources
590 # for Special:Import (for sysops). Since complete page history
591 # can be imported, these should be 'trusted'.
592 $wgImportSources = array();
593
594 # Set this to the number of authors that you want to be credited below an
595 # article text. Set it to zero to hide the attribution block, and a
596 # negative number (like -1) to show all authors. Note that this will
597 # require 2-3 extra database hits, which can have a not insignificant
598 # impact on performance for large wikis.
599 $wgMaxCredits = 0;
600
601 # If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
602 # Otherwise, link to a separate credits page.
603 $wgShowCreditsIfMax = true;
604
605 # Text matching this regular expression will be recognised as spam
606 # See http://en.wikipedia.org/wiki/Regular_expression
607 $wgSpamRegex = false;
608 # Similarly if this function returns true
609 $wgFilterCallback = false;
610
611 # Go button goes straight to the edit screen if the article doesn't exist
612 $wgGoToEdit = false;
613
614 # Allow limited user-specified HTML in wiki pages?
615 # It will be run through a whitelist for security.
616 # Set this to false if you want wiki pages to consist only of wiki
617 # markup. Note that replacements do not yet exist for all HTML
618 # constructs.
619 $wgUserHtml = true;
620
621 # Allow raw, unchecked HTML in <html>...</html> sections.
622 # THIS IS VERY DANGEROUS on a publically editable site, so
623 # you can't enable it unless you've restricted editing to
624 # trusted users only with $wgWhitelistEdit.
625 $wgRawHtml = false;
626
627 # $wgUseTidy: use tidy to make sure HTML output is sane.
628 # This should only be enabled if $wgUserHtml is true.
629 # tidy is a free tool that fixes broken HTML.
630 # See http://www.w3.org/People/Raggett/tidy/
631 # $wgTidyBin should be set to the path of the binary and
632 # $wgTidyConf to the path of the configuration file.
633 # $wgTidyOpts can include any number of parameters.
634 $wgUseTidy = false;
635 $wgTidyBin = 'tidy';
636 $wgTidyConf = $IP.'/extensions/tidy/tidy.conf';
637 $wgTidyOpts = '';
638
639 # See list of skins and their symbolic names in language/Language.php
640 $wgDefaultSkin = 'monobook';
641
642 # Whether or not to allow real name fields. Defaults to true.
643 $wgAllowRealName = true;
644
645 # Extensions
646 $wgSkinExtensionFunctions = array();
647 $wgExtensionFunctions = array();
648
649 # Allow user Javascript page?
650 $wgAllowUserJs = true;
651
652 # Allow user Cascading Style Sheets (CSS)?
653 $wgAllowUserCss = true;
654
655 # Filter for Special:Randompage. Part of a WHERE clause
656 $wgExtraRandompageSQL = false;
657
658 # Allow the "info" action, very inefficient at the moment
659 $wgAllowPageInfo = false;
660
661 # Maximum indent level of toc.
662 $wgMaxTocLevel = 999;
663
664 # Recognise longitude/latitude coordinates
665 $wgUseGeoMode = false;
666
667 # Validation for print or other production versions
668 $wgUseValidation = false;
669
670 # Use external C++ diff engine (module wikidiff from the
671 # extensions package)
672 $wgUseExternalDiffEngine = false;
673
674 # Use RC Patrolling to check for vandalism
675 $wgUseRCPatrol = true;
676
677 # Additional namespaces. If the namespaces defined in Language.php and Namespace.php are insufficient,
678 # you can create new ones here, for example, to import Help files in other languages.
679 # PLEASE NOTE: Once you delete a namespace, the pages in that namespace will no longer be accessible.
680 # If you rename it, then you can access them through the new namespace name.
681 #
682 # Custom namespaces should start at 100.
683 #$wgExtraNamespaces =
684 # array(100 => "Hilfe",
685 # 101 => "Hilfe_Diskussion",
686 # 102 => "Aide",
687 # 103 => "Discussion_Aide"
688 # );
689 $wgExtraNamespaces = NULL;
690
691 # Enable SOAP interface. Off by default
692 # SOAP is a protocoll for remote procedure calls (RPC) using http as middleware.
693 # This interface can be used by bots or special clients to receive articles from
694 # a wiki.
695 # Most bots use the normal HTTP interface and don't use SOAP.
696 # If unsure, set to false.
697 $wgEnableSOAP = false;
698
699 # Limit images on image description pages to a user-selectable limit. In order to
700 # reduce disk usage, limits can only be selected from a list. This is the list of
701 # settings the user can choose from:
702 $wgImageLimits = array (
703 array(320,240),
704 array(640,480),
705 array(800,600),
706 array(1024,768),
707 array(1280,1024),
708 array(10000,10000) );
709
710
711 # Navigation links for the user sidebar.
712 # 'text' is the name of the MediaWiki message that contains the label of this link
713 # 'href' is the name of the MediaWiki message that contains the link target of this link.
714 # Link targets starting with http are considered remote links. Ones not starting with
715 # http are considered as names of local wiki pages.
716 $wgNavigationLinks = array (
717 array( 'text'=>'mainpage', 'href'=>'mainpage' ),
718 array( 'text'=>'portal', 'href'=>'portal-url' ),
719 array( 'text'=>'currentevents', 'href'=>'currentevents-url' ),
720 array( 'text'=>'recentchanges', 'href'=>'recentchanges-url' ),
721 array( 'text'=>'randompage', 'href'=>'randompage-url' ),
722 array( 'text'=>'help', 'href'=>'helppage' ),
723 array( 'text'=>'sitesupport', 'href'=>'sitesupport-url' ),
724 );
725
726
727 } else {
728 die();
729 }
730 ?>