ec3f7ad6ac8e95112007e5397a91732571336d3f
[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 $wgDBmysql4 = false; # Set to true to use enhanced fulltext search
37
38 # Language settings
39 #
40 $wgLanguageCode = "en";
41 $wgInterwikiMagic = true; # Treat language links as magic connectors, not inline links
42 $wgUseNewInterlanguage = false;
43 $wgInputEncoding = "ISO-8859-1";
44 $wgOutputEncoding = "ISO-8859-1";
45 $wgEditEncoding = "";
46 $wgDocType = "-//W3C//DTD HTML 4.01 Transitional//EN";
47 $wgDTD = "http://www.w3.org/TR/html4/loose.dtd";
48 $wgUseDynamicDates = false; # Enable to allow rewriting dates in page text
49 $wgAmericanDates = false; # Enable for English module to print dates
50 # as eg 'May 12' instead of '12 May'
51 $wgLocalInterwiki = "w";
52 $wgShowIPinHeader = true; # For non-logged in users
53 $wgUseDynamicDates = true; # Allows the user to pick their preferred date format
54
55 # Miscellaneous configuration settings
56 #
57 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
58 $wgDebugLogFile = "{$wgUploadDirectory}/log_dlJbnMZb";
59 $wgDebugComments = false;
60 $wgReadOnly = false;
61 $wgSqlLogFile = "{$wgUploadDirectory}/sqllog_mFhyRe6";
62 $wgLogQueries = false;
63 $wgUseBetterLinksUpdate = true;
64
65
66 # Client-side caching:
67 $wgCachePages = true; # Allow client-side caching of pages
68
69 # Set this to current time to invalidate all prior cached pages.
70 # Affects both client- and server-side caching.
71 $wgCacheEpoch = "20030516000000";
72
73 # Server-side caching:
74 # This will cache static pages for non-logged-in users
75 # to reduce database traffic on public sites.
76 # Must set $wgShowIPinHeader = false
77 $wgUseFileCache = false;
78 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
79
80 $wgCookieExpiration = 2592000;
81
82 $wgAllowExternalImages = true;
83 $wgMiserMode = false; # Disable database-intensive features
84 $wgUseTeX = false;
85 $wgProfiling = false; # Enable for more detailed by-function times in debug log
86
87 # We can serve pages compressed in order to save bandwidth,
88 # but this will increase CPU usage.
89 # Requires zlib support enabled in PHP.
90 $wgUseGzip = false;
91 $wgCompressByDefault = true;
92
93 # Which namespaces should support subpages?
94 # See Language.php for a list of namespaces.
95 #
96 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
97 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1 );
98
99 $wgNamespacesToBeSearchedDefault = array( -1 => 0, 0 => 1, 1 => 0,
100 2 => 0, 3 => 0, 4 => 0, 5 => 0, 6 => 0, 7 => 0 );
101
102 ?>