Added pref.
[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 $wgSitename = "Wikipedia";
10 $wgMetaNamespace = FALSE; # will be same as you set $wgSitename
11
12 $wgServer = "http://" . getenv( "SERVER_NAME" );
13 $wgScriptPath = "/wiki";
14 $wgScript = "{$wgScriptPath}/wiki.phtml";
15 $wgRedirectScript = "{$wgScriptPath}/redirect.phtml";
16 $wgStyleSheetPath = "{$wgScriptPath}/style";
17 $wgStyleSheetDirectory = "{$IP}/style";
18 $wgArticlePath = "{$wgScript}?title=$1";
19 $wgUploadPath = "{$wgScriptPath}/upload";
20 $wgUploadDirectory = "{$IP}/upload";
21 $wgLogo = "{$wgUploadPath}/wiki.png";
22 $wgMathPath = "{$wgUploadPath}/math";
23 $wgMathDirectory = "{$wgUploadDirectory}/math";
24 $wgTmpDirectory = "{$wgUploadDirectory}/tmp";
25 $wgEmergencyContact = "wikiadmin@" . getenv( "SERVER_NAME" );
26 #$wgPasswordSender = "Wikipedia Mail <apache@www.wikipedia.org>";
27 $wgPasswordSender = "Wikipedia Mail <apache@www.wikipedia.org>\r\nReply-To: webmaster@www.wikipedia.org";
28
29 # MySQL settings
30 #
31 $wgDBserver = "localhost";
32 $wgDBname = "wikidb";
33 $wgDBconnection = "";
34 $wgDBuser = "wikiuser";
35 $wgDBpassword = "userpass";
36 $wgDBsqluser = "sqluser";
37 $wgDBsqlpassword = "sqlpass";
38 $wgDBminWordLen = 4;
39 $wgDBtransactions = false; # Set to true if using InnoDB tables
40 $wgDBmysql4 = false; # Set to true to use enhanced fulltext search
41
42 # memcached settings
43 # See docs/memcached.doc
44 #
45 $wgMemCachedDebug = false; # Will be set to false in Setup.php, if the server isn't working
46 $wgUseMemCached = false;
47 $wgMemCachedServers = array( "127.0.0.1:11000" );
48 $wgMemCachedDebug = false;
49 $wgSessionsInMemcached = false;
50 $wgLinkCacheMemcached = false; # Not fully tested
51
52 # Language settings
53 #
54 $wgLanguageCode = "en";
55 $wgInterwikiMagic = true; # Treat language links as magic connectors, not inline links
56 $wgInputEncoding = "ISO-8859-1";
57 $wgOutputEncoding = "ISO-8859-1";
58 $wgEditEncoding = "";
59 $wgDocType = "-//W3C//DTD HTML 4.01 Transitional//EN";
60 $wgDTD = "http://www.w3.org/TR/html4/loose.dtd";
61 $wgUseDynamicDates = false; # Enable to allow rewriting dates in page text
62 # DOES NOT FORMAT CORRECTLY FOR MOST LANGUAGES
63 $wgAmericanDates = false; # Enable for English module to print dates
64 # as eg 'May 12' instead of '12 May'
65 $wgLocalInterwiki = "w";
66 $wgShowIPinHeader = true; # For non-logged in users
67
68 # Translation using MediaWiki: namespace
69 # Not recommended unless memcached is installed
70 $wgUseDatabaseMessages = false;
71
72 $wgExtraSubtitle = "";
73 $wgSiteSupportPage = "";
74
75 # Miscellaneous configuration settings
76 #
77 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
78
79 # The debug log file should be not be publically accessible if it is
80 # used, as it may contain private data.
81 $wgDebugLogFile = "";
82
83 $wgDebugComments = false;
84 $wgReadOnly = false;
85 $wgSqlLogFile = "{$wgUploadDirectory}/sqllog_mFhyRe6";
86 $wgLogQueries = false;
87 $wgUseBetterLinksUpdate = true;
88 $wgUseCategoryMagic = false;
89 $wgEnablePersistentLC = true; # Persistent link cache, needs the linkscc table
90 $wgCompressedPersistentLC = true; # use gzcompressed blobs
91
92 # User rights
93 $wgWhitelistEdit = false;
94 $wgWhitelistRead = false;
95 $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
96 $wgSysopUserBans = false; # Allow sysops to ban logged-in users
97 $wgIPBlockExpiration = 86400; # IP blocks expire after this many seconds, 0=infinite
98 $wgUserBlockExpiration = 0; # As above, but for logged-in users
99
100 # User agent/range blocking
101 # Blocks all users using a particular user agent, possibly restricted to a
102 # set of IP ranges. Note: you can't block all user agents by leaving
103 # $wgBadUserAgents blank. That would block nothing.
104 $wgBadRanges = false; # e.g. array(array("1.2.3.0", "1.2.3.255"))
105 $wgBadUserAgents = false; # e.g. array("OfflineExplorer/1.0")
106 $wgRangeBlockUser = 0; # The block is attributed to this user ID
107 $wgRangeBlockReason = ""; # This reason is given (should be in wfMsg, obviously)
108
109 # Client-side caching:
110 $wgCachePages = true; # Allow client-side caching of pages
111
112 # Set this to current time to invalidate all prior cached pages.
113 # Affects both client- and server-side caching.
114 $wgCacheEpoch = "20030516000000";
115
116 # Server-side caching:
117 # This will cache static pages for non-logged-in users
118 # to reduce database traffic on public sites.
119 # Must set $wgShowIPinHeader = false
120 $wgUseFileCache = false;
121 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
122
123 $wgCookieExpiration = 2592000;
124
125 # Set to set an explicit domain on the login cookies
126 # eg, "justthis.domain.org" or ".any.subdomain.net"
127 $wgCookieDomain = "";
128 $wgCookiePath = "/";
129 $wgDisableCookieCheck = false;
130
131 $wgAllowExternalImages = true;
132 $wgMiserMode = false; # Disable database-intensive features
133 $wgUseTeX = false;
134
135 # Profiling / debugging
136 $wgProfiling = false; # Enable for more detailed by-function times in debug log
137 $wgProfileLimit = 0.0; # Only record profiling info for pages that took longer than this
138 $wgProfileOnly = false; # Don't put non-profiling info into log file
139 $wgProfileToDatabase = false; # Log sums from profiling into "profiling" table in db.
140 $wgProfileSampleRate = 1; # Only profile every n requests when profiling is turned on
141 $wgDebugProfiling = false; # Detects non-matching wfProfileIn/wfProfileOut calls
142 $wgDebugFunctionEntry = 0; # Output debug message on every wfProfileIn/wfProfileOut
143
144 $wgDisableCounters = false;
145 $wgDisableTextSearch = false;
146 $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.
147 $wgDisableUploads = true; # Uploads have to be specially set up to be secure
148 $wgDisableAnonTalk = false;
149
150 # We can serve pages compressed in order to save bandwidth,
151 # but this will increase CPU usage.
152 # Requires zlib support enabled in PHP.
153 $wgUseGzip = false;
154
155 $wgPasswordSalt = true; # For compatibility with old installations set to false
156
157 # Which namespaces should support subpages?
158 # See Language.php for a list of namespaces.
159 #
160 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
161 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1 );
162
163 $wgNamespacesToBeSearchedDefault = array( -1 => 0, 0 => 1, 1 => 0,
164 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0 );
165
166 ?>