Nov. branch merge. Various features backported from stable, various bug fixes.
[lhc/web/wiklou.git] / LocalSettings.sample
1 <?
2 # Local settings work like this: the file LocalSettings.sample
3 # should be copied to LocalSettings.php in the source directory
4 # and edited for your local file system settings and software
5 # configuration preferences. The install script will copy it to
6 # the installation path, but a copy should also remain in the
7 # source tree so that maintenance scripts can refer to it (you
8 # may want to make it a symbolic link after installation). Do
9 # not check LocalSettings.php into CVS! It is different for
10 # every installation, and must not be overridden.
11
12 # The most important setting is here: $IP is the installation
13 # path for the software.
14 #
15
16 $IP = "/usr/local/apache/htdocs/wiki";
17
18 if ( ! isset( $DP ) ) { $DP = $IP; }
19 include_once( "$DP/DefaultSettings.php" );
20
21 # You can customize a lot of URLs and paths, but you will
22 # almost certainly want to customize the following. The
23 # ArticlePath one is especially useful if you want to use
24 # mod_redirect to make page-viewing URLs look static.
25 #
26 $wgServer = "http://www.myhost.com";
27 $wgArticlePath = "{$wgScript}?title=$1";
28 $wgEmergencyContact = "wikiadmin@myhost.com";
29
30 # MySQL settings
31 #
32 $wgDBserver = "localhost";
33 $wgDBuser = "wikiuser";
34 $wgDBname = "wikidb";
35 $wgDBpassword = "userpass";
36 $wgDBsqlpassword = "sqlpass";
37 $wgDBminWordLen = 3; # Match this to your MySQL fulltext
38 $wgDBtransactions = false; # Set to true if using InnoDB tables
39
40 # This code is still slightly experimental. Turn it off if "What links here"
41 # and similar stuff does not work.
42 $wgUseBetterLinksUpdate=true;
43
44 # Turn this on during database maintenance
45 # $wgReadOnly = true;
46
47 # Turn this on to get HTML debug comments
48 # $wgDebugComments = true;
49
50 # If you want a non-English wiki, add a line like this
51 # $wgLanguageCode = "de";
52
53 $wgUseTeX = false;
54 $wgUseCategoryMagic = true ;
55
56 $wgLocalInterwiki = "w";
57
58 $wgInputEncoding = "ISO-8859-1";
59 $wgOutputEncoding = "ISO-8859-1";
60
61 # Extremely high-traffic wikis may want to disable
62 # some database-intensive features here:
63 #
64 # $wgDisableTextSearch = true;
65 # $wgDisableCounters = true;
66 # $wgMiserMode = true;
67
68 # The following three config variables are used to define
69 # the rights of users in your system.
70 #
71 # If wgWhitelistEdit is set to true, only logged in users
72 # are allowed to edit articles.
73 # If wgWhitelistRead is set to true, only logged in users
74 # are allowed to read articles.
75 #
76 # wgWhitelistAccount lists user types that can add user accounts:
77 # "key" => 1 defines permission if user has right "key".
78 #
79 # Typical setups are:
80 #
81 # Everything goes (this is the default behaviour):
82 # $wgWhitelistEdit = false;
83 # $wgWhitelistRead = false;
84 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
85 #
86 # Invitation-only closed shop type of system
87 # $wgWhitelistEdit = true;
88 # $wgWhitelistRead = true;
89 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
90 #
91 # Public website, closed editorial team
92 # $wgWhitelistEdit = true;
93 # $wgWhitelistRead = false;
94 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
95 ?>