JeLuF's image resizing code
[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 $wgScriptPath = "/wiki";
28 $wgArticlePath = "{$wgScript}?title=$1";
29 $wgEmergencyContact = "wikiadmin@myhost.com";
30
31 # MySQL settings
32 #
33 $wgDBserver = "localhost";
34 $wgDBuser = "wikiuser";
35 $wgDBname = "wikidb";
36 $wgDBpassword = "userpass";
37 $wgDBsqlpassword = "sqlpass";
38 $wgDBminWordLen = 3; # Match this to your MySQL fulltext
39 $wgDBtransactions = false; # Set to true if using InnoDB tables
40
41 # This is the location of the convert program
42 # from the ImageMagick toolbox. You need it for
43 # the image resizing functionality.
44 #
45 # Set $wgUseImageResize to true if you want to use this feature
46 #
47 $wgUseImageResize = false;
48 $wgImageMagickConvertCommand = "/usr/bin/convert";
49
50 # Turn this on during database maintenance
51 # $wgReadOnly = true;
52
53 # Turn this on to get HTML debug comments
54 # $wgDebugComments = true;
55
56 # If you want a non-English wiki, add a line like this
57 # $wgLanguageCode = "de";
58
59 $wgUseTeX = false;
60 $wgUseCategoryMagic = true ;
61
62 $wgLocalInterwiki = "w";
63
64 $wgInputEncoding = "ISO-8859-1";
65 $wgOutputEncoding = "ISO-8859-1";
66
67 # Extremely high-traffic wikis may want to disable
68 # some database-intensive features here:
69 #
70 # $wgDisableTextSearch = true;
71 # $wgDisableCounters = true;
72 # $wgMiserMode = true;
73
74 # The following three config variables are used to define
75 # the rights of users in your system.
76 #
77 # If wgWhitelistEdit is set to true, only logged in users
78 # are allowed to edit articles.
79 # If wgWhitelistRead is set to true, only logged in users
80 # are allowed to read articles.
81 #
82 # wgWhitelistAccount lists user types that can add user accounts:
83 # "key" => 1 defines permission if user has right "key".
84 #
85 # Typical setups are:
86 #
87 # Everything goes (this is the default behaviour):
88 # $wgWhitelistEdit = false;
89 # $wgWhitelistRead = false;
90 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
91 #
92 # Invitation-only closed shop type of system
93 # $wgWhitelistEdit = true;
94 # $wgWhitelistRead = true;
95 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
96 #
97 # Public website, closed editorial team
98 # $wgWhitelistEdit = true;
99 # $wgWhitelistRead = false;
100 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
101 ?>