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 $wgArticlePath = "{$wgScript}?title=$1";
28 $wgEmergencyContact = "wikiadmin@myhost.com";
32 $wgDBserver = "localhost";
33 $wgDBuser = "wikiuser";
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
40 # Turn this on during database maintenance
43 # Turn this on to get HTML debug comments
44 # $wgDebugComments = true;
46 # If you want a non-English wiki, add a line like this
47 # $wgLanguageCode = "de";
50 $wgUseCategoryMagic = true ;
52 $wgLocalInterwiki = "w";
54 $wgInputEncoding = "ISO-8859-1";
55 $wgOutputEncoding = "ISO-8859-1";
57 # Extremely high-traffic wikis may want to disable
58 # some database-intensive features here:
60 # $wgDisableTextSearch = true;
61 # $wgDisableCounters = true;
62 # $wgMiserMode = true;