40c7834a8ca1c6173654e2b507938baba07f039c
[lhc/web/wiklou.git] / includes / DefaultSettings.php
1 <?
2 # DO NOT EDIT THIS FILE!
3 # To customize your installation, edit "LocalSettings.php".
4 # Note that since all these string interpolations are expanded
5 # before LocalSettings is included, if you localize something
6 # like $wgScriptPath, you must also localize everything that
7 # depends on it.
8
9 $wgServer = "http://" . getenv( "SERVER_NAME" );
10 $wgScriptPath = "/wiki";
11 $wgScript = "{$wgScriptPath}/wiki.phtml";
12 $wgRedirectScript = "{$wgScriptPath}/redirect.phtml";
13 $wgStyleSheetPath = "{$wgScriptPath}/style";
14 $wgStyleSheetDirectory = "{$IP}/style";
15 $wgArticlePath = "{$wgScript}?title=$1";
16 $wgUploadPath = "{$wgScriptPath}/upload";
17 $wgUploadDirectory = "{$IP}/upload";
18 $wgLogo = "{$wgUploadPath}/wiki.png";
19 $wgMathPath = "{$wgUploadPath}/math";
20 $wgMathDirectory = "{$wgUploadDirectory}/math";
21 $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
22 $wgEmergencyContact = "wikiadmin@" . getenv( "SERVER_NAME" );
23
24 # MySQL settings
25 #
26 $wgDBserver = "localhost";
27 $wgDBname = "wikidb";
28 $wgDBintlname = "intl";
29 $wgDBconnection = "";
30 $wgDBuser = "wikiuser";
31 $wgDBpassword = "userpass";
32 $wgDBsqluser = "sqluser";
33 $wgDBsqlpassword = "sqlpass";
34 $wgDBminWordLen = 4;
35 $wgDBtransactions = false; # Set to true if using InnoDB tables
36 $wgDBmysql4 = false; # Set to true to use enhanced fulltext search
37
38 # Language settings
39 #
40 $wgLanguageCode = "en";
41 $wgInterwikiMagic = true; # Treat language links as magic connectors, not inline links
42 $wgUseNewInterlanguage = false;
43 $wgInputEncoding = "ISO-8859-1";
44 $wgOutputEncoding = "ISO-8859-1";
45 $wgEditEncoding = "";
46 $wgDocType = "-//W3C//DTD HTML 4.01 Transitional//EN";
47 $wgDTD = "http://www.w3.org/TR/html4/loose.dtd";
48 $wgAmericanDates = false; # Enable for English module to print dates
49 # as eg 'May 12' instead of '12 May'
50 $wgLocalInterwiki = "w";
51 $wgShowIPinHeader = true; # For non-logged in users
52
53 # Miscellaneous configuration settings
54 #
55 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
56 $wgDebugLogFile = "{$wgUploadDirectory}/log_dlJbnMZb";
57 $wgDebugComments = false;
58 $wgReadOnly = false;
59 $wgSqlLogFile = "{$wgUploadDirectory}/sqllog_mFhyRe6";
60 $wgLogQueries = false;
61
62 # Client-side caching:
63 $wgCachePages = true; # Allow client-side caching of pages
64
65 # Set this to current time to invalidate all prior cached pages.
66 # Affects both client- and server-side caching.
67 $wgCacheEpoch = "20030516000000";
68
69 # Server-side caching:
70 # This will cache static pages for non-logged-in users
71 # to reduce database traffic on public sites.
72 # Must set $wgShowIPinHeader = false
73 $wgUseFileCache = false;
74 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
75
76 $wgCookieExpiration = 2592000;
77
78 $wgAllowExternalImages = true;
79 $wgMiserMode = false; # Disable database-intensive features
80 $wgUseTeX = false;
81 $wgProfiling = false; # Enable for more detailed by-function times in debug log
82
83 # We can serve pages compressed in order to save bandwidth,
84 # but this will increase CPU usage.
85 # Requires zlib support enabled in PHP.
86 $wgUseGzip = false;
87 $wgCompressByDefault = true;
88
89 # Which namespaces should support subpages?
90 # See Language.php for a list of namespaces.
91 #
92 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
93 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1 );
94
95 ?>