sysop user bans off by default
[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; # Will be set to false in Setup.php, if the server isn't working
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 # Translation using MediaWiki: namespace
65 # Not recommended unless memcached is installed
66 $wgUseDatabaseMessages = false;
67
68 # Miscellaneous configuration settings
69 #
70 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
71 $wgDebugLogFile = "{$wgUploadDirectory}/log_dlJbnMZb";
72 $wgDebugComments = false;
73 $wgReadOnly = false;
74 $wgSqlLogFile = "{$wgUploadDirectory}/sqllog_mFhyRe6";
75 $wgLogQueries = false;
76 $wgUseBetterLinksUpdate = true;
77
78 # User rights settings
79 $wgSysopUserBans = false; # Allow sysops to ban logged-in users
80 $wgIPBlockExpiration = 86400; # IP blocks expire after this many seconds, 0=infinite
81 $wgUserBlockExpiration = 0; # As above, but for logged-in users
82
83 # The following three config variables are used to define
84 # the rights of users in your system.
85 #
86 # If wgWhitelistEdit is set to true, only logged in users
87 # are allowed to edit articles.
88 # If wgWhitelistRead is set to true, only logged in users
89 # are allowed to read articles.
90 #
91 # wgWhitelistAccount lists user types that can add user accounts:
92 # "key" => 1 defines permission if user has right "key".
93 #
94 # Typical setups are:
95 #
96 # Everything goes (this is the default behaviour):
97 # $wgWhitelistEdit = false;
98 # $wgWhitelistRead = false;
99 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
100 #
101 # Invitation-only closed shop type of system
102 # $wgWhitelistEdit = true;
103 # $wgWhitelistRead = true;
104 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
105 #
106 # Public website, closed editorial team
107 # $wgWhitelistEdit = true;
108 # $wgWhitelistRead = false;
109 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
110
111
112 # Client-side caching:
113 $wgCachePages = true; # Allow client-side caching of pages
114
115 # Set this to current time to invalidate all prior cached pages.
116 # Affects both client- and server-side caching.
117 $wgCacheEpoch = "20030516000000";
118
119 # Server-side caching:
120 # This will cache static pages for non-logged-in users
121 # to reduce database traffic on public sites.
122 # Must set $wgShowIPinHeader = false
123 $wgUseFileCache = false;
124 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
125
126 $wgCookieExpiration = 2592000;
127
128 $wgAllowExternalImages = true;
129 $wgMiserMode = false; # Disable database-intensive features
130 $wgUseTeX = false;
131 $wgProfiling = false; # Enable for more detailed by-function times in debug log
132
133 # We can serve pages compressed in order to save bandwidth,
134 # but this will increase CPU usage.
135 # Requires zlib support enabled in PHP.
136 $wgUseGzip = false;
137
138 $wgPasswordSalt = true; # For compatibility with old installations set to false
139
140 # Which namespaces should support subpages?
141 # See Language.php for a list of namespaces.
142 #
143 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
144 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1 );
145
146 $wgNamespacesToBeSearchedDefault = array( -1 => 0, 0 => 1, 1 => 0,
147 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0 );
148
149 ?>