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