8df71bf4a9edc8e76dfadaf74d01d4834bac4af7
[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 #$wgPasswordSender = "Wikipedia Mail <apache@www.wikipedia.org>";
24 $wgPasswordSender = "Wikipedia Mail <apache@www.wikipedia.org>\r\nReply-To: webmaster@www.wikipedia.org";
25
26
27 # MySQL settings
28 #
29 $wgDBserver = "localhost";
30 $wgDBname = "wikidb";
31 $wgDBintlname = "intl";
32 $wgDBconnection = "";
33 $wgDBuser = "wikiuser";
34 $wgDBpassword = "userpass";
35 $wgDBsqluser = "sqluser";
36 $wgDBsqlpassword = "sqlpass";
37 $wgDBminWordLen = 4;
38 $wgDBtransactions = false; # Set to true if using InnoDB tables
39 $wgDBmysql4 = false; # Set to true to use enhanced fulltext search
40
41 # memcached settings
42 # See docs/memcached.doc
43 #
44 $wgUseMemCached = false;
45 $wgMemCachedServers = array( "127.0.0.1:11000" );
46 $wgMemCachedDebug = false;
47
48 # Language settings
49 #
50 $wgLanguageCode = "en";
51 $wgInterwikiMagic = true; # Treat language links as magic connectors, not inline links
52 $wgUseNewInterlanguage = false;
53 $wgInputEncoding = "ISO-8859-1";
54 $wgOutputEncoding = "ISO-8859-1";
55 $wgEditEncoding = "";
56 $wgDocType = "-//W3C//DTD HTML 4.01 Transitional//EN";
57 $wgDTD = "http://www.w3.org/TR/html4/loose.dtd";
58 $wgUseDynamicDates = false; # Enable to allow rewriting dates in page text
59 $wgAmericanDates = false; # Enable for English module to print dates
60 # as eg 'May 12' instead of '12 May'
61 $wgLocalInterwiki = "w";
62 $wgShowIPinHeader = true; # For non-logged in users
63 $wgUseDynamicDates = true; # Allows the user to pick their preferred date format
64
65 # Miscellaneous configuration settings
66 #
67 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
68 $wgDebugLogFile = "{$wgUploadDirectory}/log_dlJbnMZb";
69 $wgDebugComments = false;
70 $wgReadOnly = false;
71 $wgSqlLogFile = "{$wgUploadDirectory}/sqllog_mFhyRe6";
72 $wgLogQueries = false;
73 $wgUseBetterLinksUpdate = true;
74 $wgSysopUserBans = true; # Allow sysops to ban logged-in users
75 $wgIPBlockExpiration = 86400; # IP blocks expire after this many seconds, 0=infinite
76 $wgUserBlockExpiration = 0; # As above, but for logged-in users
77
78 # The following three config variables are used to define
79 # the rights of users in your system.
80 #
81 # If wgWhitelistEdit is set to true, only logged in users
82 # are allowed to edit articles.
83 # If wgWhitelistRead is set to true, only logged in users
84 # are allowed to read articles.
85 #
86 # wgWhitelistAccount lists user types that can add user accounts:
87 # "key" => 1 defines permission if user has right "key".
88 #
89 # Typical setups are:
90 #
91 # Everything goes (this is the default behaviour):
92 # $wgWhitelistEdit = false;
93 # $wgWhitelistRead = false;
94 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
95 #
96 # Invitation-only closed shop type of system
97 # $wgWhitelistEdit = true;
98 # $wgWhitelistRead = true;
99 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
100 #
101 # Public website, closed editorial team
102 # $wgWhitelistEdit = true;
103 # $wgWhitelistRead = false;
104 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
105
106
107 # Client-side caching:
108 $wgCachePages = true; # Allow client-side caching of pages
109
110 # Set this to current time to invalidate all prior cached pages.
111 # Affects both client- and server-side caching.
112 $wgCacheEpoch = "20030516000000";
113
114 # Server-side caching:
115 # This will cache static pages for non-logged-in users
116 # to reduce database traffic on public sites.
117 # Must set $wgShowIPinHeader = false
118 $wgUseFileCache = false;
119 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
120
121 $wgCookieExpiration = 2592000;
122
123 $wgAllowExternalImages = true;
124 $wgMiserMode = false; # Disable database-intensive features
125 $wgUseTeX = false;
126 $wgProfiling = false; # Enable for more detailed by-function times in debug log
127
128 # We can serve pages compressed in order to save bandwidth,
129 # but this will increase CPU usage.
130 # Requires zlib support enabled in PHP.
131 $wgUseGzip = false;
132
133 $wgPasswordSalt = true; # For compatibility with old installations set to false
134
135 # Which namespaces should support subpages?
136 # See Language.php for a list of namespaces.
137 #
138 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
139 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1 );
140
141 $wgNamespacesToBeSearchedDefault = array( -1 => 0, 0 => 1, 1 => 0,
142 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0 );
143
144 ?>