table markup with header
[mediawiki.git] / LocalSettings.sample
blob41e6d5d5b2727edf8418e1d4774d7e16babc606f
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.
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";
30 # MySQL settings
32 $wgDBserver         = "localhost";
33 $wgDBuser           = "wikiuser";
34 $wgDBname           = "wikidb";
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 # Change this key to different sequence of 8 bytes, so that sysops cannot 
41 # obtain the IP addresses of logged-in users.
42 $wgIPBlockKey = implode( "", array_map( "chr", 
43         array( 57, 100, 182, 241, 93, 122, 40, 195 ) ) );
45 # Turn this on during database maintenance
46 # $wgReadOnly = true;
48 # Turn this on to get HTML debug comments
49 # $wgDebugComments      = true;
51 # If you want a non-English wiki, add a line like this
52 # $wgLanguageCode = "de";
54 $wgUseTeX                       = false;
55 $wgUseCategoryMagic = true ;
57 $wgLocalInterwiki   = "w";
59 $wgInputEncoding        = "ISO-8859-1";
60 $wgOutputEncoding       = "ISO-8859-1";
62 # Extremely high-traffic wikis may want to disable
63 # some database-intensive features here:
65 # $wgDisableTextSearch = true;
66 # $wgDisableCounters = true;
67 # $wgMiserMode          = true;