Experimental optional compression support for page cache
[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
24 # MySQL settings
25 #
26 $wgDBserver = "localhost";
27 $wgDBname = "wikidb";
28 $wgDBintlname = "intl";
29 $wgDBconnection = "";
30 $wgDBuser = "wikiuser";
31 $wgDBpassword = "userpass";
32 $wgDBsqluser = "sqluser";
33 $wgDBsqlpassword = "sqlpass";
34 $wgDBminWordLen = 4;
35 $wgDBtransactions = false; # Set to true if using InnoDB tables
36
37 # Language settings
38 #
39 $wgLanguageCode = "en";
40 $wgInterwikiMagic = true; # Treat language links as magic connectors, not inline links
41 $wgUseNewInterlanguage = false;
42 $wgInputEncoding = "ISO-8859-1";
43 $wgOutputEncoding = "ISO-8859-1";
44 $wgEditEncoding = "";
45 $wgDocType = "-//W3C//DTD HTML 4.01 Transitional//EN";
46 $wgAmericanDates = false; # Enable for English module to print dates
47 $wgLocalInterwiki = "w";
48 $wgShowIPinHeader = true; # For non-logged in users
49
50 # Miscellaneous configuration settings
51 #
52 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
53 $wgDebugLogFile = "{$wgUploadDirectory}/log_dlJbnMZb";
54 $wgDebugComments = false;
55 $wgReadOnly = false;
56
57 # Client-side caching:
58 $wgCachePages = true; # Allow client-side caching of pages
59
60 # Set this to current time to invalidate all prior cached pages.
61 # Affects both client- and server-side caching.
62 $wgCacheEpoch = "20030516000000";
63
64 # Server-side caching:
65 # This will cache static pages for non-logged-in users
66 # to reduce database traffic on public sites.
67 # Must set $wgShowIPinHeader = false
68 $wgUseFileCache = false;
69 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
70
71 $wgCookieExpiration = 2592000;
72
73 $wgAllowExternalImages = true;
74 $wgMiserMode = false; # Disable database-intensive features
75 $wgUseTeX = false;
76 $wgProfiling = false; # Enable for more detailed by-function times in debug log
77
78 # We can serve pages compressed in order to save bandwidth,
79 # but this will increase CPU usage.
80 # Requires zlib support enabled in PHP.
81 $wgUseGzip = false;
82 $wgCompressByDefault = true;
83
84 # Which namespaces should support subpages?
85 # See Language.php for a list of namespaces.
86 #
87 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
88 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1 );
89
90 ?>