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.
12 # The most important setting is here: $IP is the installation
13 # path for the software.
16 $IP = "/usr/local/apache/htdocs/wiki";
18 if ( ! isset( $DP ) ) { $DP = $IP; }
19 include_once( "$DP/DefaultSettings.php" );
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.
26 $wgServer = "http://www.myhost.com";
27 $wgScriptPath = "/wiki";
28 $wgArticlePath = "{$wgScript}?title=$1";
29 $wgEmergencyContact = "wikiadmin@myhost.com";
33 $wgDBserver = "localhost";
34 $wgDBuser = "wikiuser";
36 $wgDBpassword = "userpass";
37 $wgDBsqluser = "sqluser";
38 $wgDBsqlpassword = "sqlpass";
39 $wgDBminWordLen = 3; # Match this to your MySQL fulltext
40 $wgDBtransactions = false; # Set to true if using InnoDB tables
43 # Set $wgUseImageResize to true if you want to enable dynamic
44 # server side image resizing ("Thumbnails")
46 $wgUseImageResize = false;
47 # Resizing can be done using PHP's internal image libraries
48 # or using ImageMagick. The later supports more file formats
49 # than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
51 # Set $wgUseImageMagick to true to use Image Magick instead
52 # of the builtin functions
53 $wgUseImageMagick = false;
54 $wgImageMagickConvertCommand = "/usr/bin/convert";
56 # Turn this on during database maintenance
59 # Turn this on to get HTML debug comments
60 # $wgDebugComments = true;
62 # If you want a non-English wiki, add a line like this
63 # $wgLanguageCode = "de";
66 $wgUseCategoryMagic = true ;
68 $wgLocalInterwiki = "w";
70 $wgInputEncoding = "ISO-8859-1";
71 $wgOutputEncoding = "ISO-8859-1";
73 # Extremely high-traffic wikis may want to disable
74 # some database-intensive features here:
76 # $wgDisableTextSearch = true;
77 # $wgDisableCounters = true;
78 # $wgMiserMode = true;
80 # The following three config variables are used to define
81 # the rights of users in your system.
83 # If wgWhitelistEdit is set to true, only logged in users
84 # are allowed to edit articles.
85 # If wgWhitelistRead is set to true, only logged in users
86 # are allowed to read articles.
88 # wgWhitelistAccount lists user types that can add user accounts:
89 # "key" => 1 defines permission if user has right "key".
93 # Everything goes (this is the default behaviour):
94 # $wgWhitelistEdit = false;
95 # $wgWhitelistRead = false;
96 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
98 # Invitation-only closed shop type of system
99 # $wgWhitelistEdit = true;
100 # $wgWhitelistRead = true;
101 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
103 # Public website, closed editorial team
104 # $wgWhitelistEdit = true;
105 # $wgWhitelistRead = false;
106 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );