nope - this is how it should work...
[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.
48 #
49 $wgDBserver = "localhost";
50 $wgDBname = "wikidb";
51 $wgDBuser = "wikiuser";
52 $wgDBpassword = "userpass";
53 $wgDBsqluser = "sqluser";
54 $wgDBsqlpassword = "sqlpass";
55
56 # Advanced DB settings
57 #
58 $wgDBminWordLen = 3; # Match this to your MySQL fulltext
59 $wgDBtransactions = false; # Set to true if using InnoDB tables
60
61 #
62 # Set $wgUseImageResize to true if you want to enable dynamic
63 # server side image resizing ("Thumbnails")
64 #
65 $wgUseImageResize = false;
66
67 # Resizing can be done using PHP's internal image libraries
68 # or using ImageMagick. The later supports more file formats
69 # than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
70 #
71 # Set $wgUseImageMagick to true to use Image Magick instead
72 # of the builtin functions
73 #
74 $wgUseImageMagick = false;
75 $wgImageMagickConvertCommand = "/usr/bin/convert";
76
77 # If you want a non-English wiki, add a line like this
78 # $wgLanguageCode = "de";
79
80 # Turn this on during database maintenance
81 # $wgReadOnly = true;
82
83 # Turn this on to get HTML debug comments
84 # $wgDebugComments = true;
85
86 $wgUseTeX = false;
87 $wgUseCategoryMagic = true ;
88
89 $wgLocalInterwiki = "w";
90
91 $wgInputEncoding = "ISO-8859-1";
92 $wgOutputEncoding = "ISO-8859-1";
93
94 # Extremely high-traffic wikis may want to disable
95 # some database-intensive features here:
96 #
97 # $wgDisableTextSearch = true;
98 # $wgDisableCounters = true;
99 # $wgMiserMode = true;
100
101 # The following three config variables are used to define
102 # the rights of users in your system.
103 #
104 # If wgWhitelistEdit is set to true, only logged in users
105 # are allowed to edit articles.
106 # If wgWhitelistRead is set to true, only logged in users
107 # are allowed to read articles.
108 #
109 # wgWhitelistAccount lists user types that can add user accounts:
110 # "key" => 1 defines permission if user has right "key".
111 #
112 # Typical setups are:
113 #
114 # Everything goes (this is the default behaviour):
115 # $wgWhitelistEdit = false;
116 # $wgWhitelistRead = false;
117 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
118 #
119 # Invitation-only closed shop type of system
120 # $wgWhitelistEdit = true;
121 # $wgWhitelistRead = true;
122 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
123 #
124 # Public website, closed editorial team
125 # $wgWhitelistEdit = true;
126 # $wgWhitelistRead = false;
127 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
128 ?>