037a513119f9a2fd63f33dd015ec73ba5739cd2b
[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 $wgDebugLogFile = "{$wgUploadDirectory}/log_dlJbnMZb";
79 $wgDebugComments = false;
80 $wgReadOnly = false;
81 $wgSqlLogFile = "{$wgUploadDirectory}/sqllog_mFhyRe6";
82 $wgLogQueries = false;
83 $wgUseBetterLinksUpdate = true;
84 $wgUseCategoryMagic = false;
85 $wgEnablePersistentLC = true; # Persistent link cache, needs the linkscc table
86
87 # User rights
88 $wgWhitelistEdit = false;
89 $wgWhitelistRead = false;
90 $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
91 $wgSysopUserBans = false; # Allow sysops to ban logged-in users
92 $wgIPBlockExpiration = 86400; # IP blocks expire after this many seconds, 0=infinite
93 $wgUserBlockExpiration = 0; # As above, but for logged-in users
94
95 # User agent/range blocking
96 # Blocks all users using a particular user agent, possibly restricted to a
97 # set of IP ranges. Note: you can't block all user agents by leaving
98 # $wgBadUserAgents blank. That would block nothing.
99 $wgBadRanges = false; # e.g. array(array("1.2.3.0", "1.2.3.255"))
100 $wgBadUserAgents = false; # e.g. array("OfflineExplorer/1.0")
101 $wgRangeBlockUser = 0; # The block is attributed to this user ID
102 $wgRangeBlockReason = ""; # This reason is given (should be in wfMsg, obviously)
103
104 # Client-side caching:
105 $wgCachePages = true; # Allow client-side caching of pages
106
107 # Set this to current time to invalidate all prior cached pages.
108 # Affects both client- and server-side caching.
109 $wgCacheEpoch = "20030516000000";
110
111 # Server-side caching:
112 # This will cache static pages for non-logged-in users
113 # to reduce database traffic on public sites.
114 # Must set $wgShowIPinHeader = false
115 $wgUseFileCache = false;
116 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
117
118 $wgCookieExpiration = 2592000;
119
120 # Set to set an explicit domain on the login cookies
121 # eg, "justthis.domain.org" or ".any.subdomain.net"
122 $wgCookieDomain = "";
123 $wgCookiePath = "/";
124 $wgDisableCookieCheck = false;
125
126 $wgAllowExternalImages = true;
127 $wgMiserMode = false; # Disable database-intensive features
128 $wgUseTeX = false;
129
130 # Profiling / debugging
131 $wgProfiling = false; # Enable for more detailed by-function times in debug log
132 $wgProfileLimit = 0.0; # Only record profiling info for pages that took longer than this
133 $wgProfileOnly = false; # Don't put non-profiling info into log file
134 $wgProfileToDatabase = false; # Log sums from profiling into "profiling" table in db.
135 $wgProfileSampleRate = 1; # Only profile every n requests when profiling is turned on
136 $wgDebugProfiling = false; # Detects non-matching wfProfileIn/wfProfileOut calls
137 $wgDebugFunctionEntry = 0; # Output debug message on every wfProfileIn/wfProfileOut
138
139 $wgDisableCounters = false;
140 $wgDisableTextSearch = false;
141 $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.
142 $wgDisableUploads = true; # Uploads have to be specially set up to be secure
143 $wgDisableAnonTalk = false;
144
145 # We can serve pages compressed in order to save bandwidth,
146 # but this will increase CPU usage.
147 # Requires zlib support enabled in PHP.
148 $wgUseGzip = false;
149
150 $wgPasswordSalt = true; # For compatibility with old installations set to false
151
152 # Which namespaces should support subpages?
153 # See Language.php for a list of namespaces.
154 #
155 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
156 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1 );
157
158 $wgNamespacesToBeSearchedDefault = array( -1 => 0, 0 => 1, 1 => 0,
159 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0 );
160
161 ?>