minor clarification
[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).
9
10 # Developers: Do not check LocalSettings.php into CVS! Make
11 # changes to LocalSettings.sample instead.
12
13 # Note that you will find many more settings in
14 # includes/DefaultSettings.php - if you want to change any of
15 # them, copy the variables into LocalSettings.php, and change them
16 # here, otherwise your settings will be overwritten with your
17 # next update.
18
19 # The most important setting is here: $IP is the installation
20 # path for the software. In the example below, the htdocs
21 # dir should be set as the DocumentRoot in the httpd.conf
22 # configuration file of Apache. To put it more simply:
23 # The directory below needs to be accessible in some way
24 # through your web browser.
25 #
26 $IP = "/usr/local/apache/htdocs/wiki";
27
28 if ( ! isset( $DP ) ) { $DP = $IP; }
29 include_once( "$DP/DefaultSettings.php" );
30
31 # You can customize a lot of URLs and paths, but you will
32 # almost certainly want to customize the following. The
33 # ArticlePath one is especially useful if you want to use
34 # mod_redirect to make page-viewing URLs look static.
35 #
36 $wgServer = "http://www.myhost.com";
37 $wgScriptPath = "/wiki";
38 $wgArticlePath = "{$wgScript}?title=$1";
39 $wgEmergencyContact = "wikiadmin@myhost.com";
40
41 # MySQL settings
42 #
43 # The user you specify here DOES NOT NEED TO EXIST.
44 # It is created by the installation script.
45 #
46 # $wgDBsqluser is used for queries through the
47 # web interface. It is also created by the script.
48 # Unlike the regular user, it has no write
49 # permissions and can not access passwords.
50 #
51 $wgDBserver = "localhost";
52 $wgDBname = "wikidb";
53 $wgDBuser = "wikiuser";
54 $wgDBpassword = "userpass";
55 $wgDBsqluser = "sqluser";
56 $wgDBsqlpassword = "sqlpass";
57
58 # Advanced DB settings
59 #
60 $wgDBminWordLen = 3; # Match this to your MySQL fulltext
61 $wgDBtransactions = false; # Set to true if using InnoDB tables
62
63 #
64 # Set $wgUseImageResize to true if you want to enable dynamic
65 # server side image resizing ("Thumbnails")
66 #
67 $wgUseImageResize = false;
68
69 # Resizing can be done using PHP's internal image libraries
70 # or using ImageMagick. The later supports more file formats
71 # than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
72 #
73 # Set $wgUseImageMagick to true to use Image Magick instead
74 # of the builtin functions
75 #
76 $wgUseImageMagick = false;
77 $wgImageMagickConvertCommand = "/usr/bin/convert";
78
79 # If you want a non-English wiki, add a line like this
80 # $wgLanguageCode = "de";
81
82 # Turn this on during database maintenance
83 # $wgReadOnly = true;
84
85 # Turn this on to get HTML debug comments
86 # $wgDebugComments = true;
87
88 $wgUseTeX = false;
89 $wgUseCategoryMagic = true ;
90
91 $wgLocalInterwiki = "w";
92
93 $wgInputEncoding = "ISO-8859-1";
94 $wgOutputEncoding = "ISO-8859-1";
95
96 # Extremely high-traffic wikis may want to disable
97 # some database-intensive features here:
98 #
99 # $wgDisableTextSearch = true;
100 # $wgDisableCounters = true;
101 # $wgMiserMode = true;
102
103 # The following three config variables are used to define
104 # the rights of users in your system.
105 #
106 # If wgWhitelistEdit is set to true, only logged in users
107 # are allowed to edit articles.
108 # If wgWhitelistRead is set to true, only logged in users
109 # are allowed to read articles.
110 #
111 # wgWhitelistAccount lists user types that can add user accounts:
112 # "key" => 1 defines permission if user has right "key".
113 #
114 # Typical setups are:
115 #
116 # Everything goes (this is the default behaviour):
117 # $wgWhitelistEdit = false;
118 # $wgWhitelistRead = false;
119 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
120 #
121 # Invitation-only closed shop type of system
122 # $wgWhitelistEdit = true;
123 # $wgWhitelistRead = true;
124 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
125 #
126 # Public website, closed editorial team
127 # $wgWhitelistEdit = true;
128 # $wgWhitelistRead = false;
129 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
130 ?>