Refactor some common code for offsets/limits; some preliminary stuff for upload licen...
[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 $wgAmericanDates = false; # Enable for English module to print dates
48 # as eg 'May 12' instead of '12 May'
49 $wgLocalInterwiki = "w";
50 $wgShowIPinHeader = true; # For non-logged in users
51
52 # Miscellaneous configuration settings
53 #
54 $wgReadOnlyFile = "{$wgUploadDirectory}/lock_yBgMBwiR";
55 $wgDebugLogFile = "{$wgUploadDirectory}/log_dlJbnMZb";
56 $wgDebugComments = false;
57 $wgReadOnly = false;
58
59 # Client-side caching:
60 $wgCachePages = true; # Allow client-side caching of pages
61
62 # Set this to current time to invalidate all prior cached pages.
63 # Affects both client- and server-side caching.
64 $wgCacheEpoch = "20030516000000";
65
66 # Server-side caching:
67 # This will cache static pages for non-logged-in users
68 # to reduce database traffic on public sites.
69 # Must set $wgShowIPinHeader = false
70 $wgUseFileCache = false;
71 $wgFileCacheDirectory = "{$wgUploadDirectory}/cache";
72
73 $wgCookieExpiration = 2592000;
74
75 $wgAllowExternalImages = true;
76 $wgMiserMode = false; # Disable database-intensive features
77 $wgUseTeX = false;
78 $wgProfiling = false; # Enable for more detailed by-function times in debug log
79
80 # We can serve pages compressed in order to save bandwidth,
81 # but this will increase CPU usage.
82 # Requires zlib support enabled in PHP.
83 $wgUseGzip = false;
84 $wgCompressByDefault = true;
85
86 # Which namespaces should support subpages?
87 # See Language.php for a list of namespaces.
88 #
89 $wgNamespacesWithSubpages = array( -1 => 0, 0 => 0, 1 => 1,
90 2 => 1, 3 => 1, 4 => 0, 5 => 1, 6 => 0, 7 => 1 );
91
92 ?>