Added irc:// to list of recognized URLs
[mediawiki.git] / LocalSettings.sample
blob01a8657437ba0c4fb81e467f10866f9de3d9fd66
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 $wgScriptPath       = "/wiki";
28 $wgArticlePath      = "{$wgScript}?title=$1";
29 $wgEmergencyContact = "wikiadmin@myhost.com";
31 # MySQL settings
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
42 # Set $wgUseImageResize to true if you want to enable dynamic
43 # server side image resizing ("Thumbnails")
44
45 $wgUseImageResize               = false;
46 # Resizing can be done using PHP's internal image libraries
47 # or using ImageMagick. The later supports more file formats
48 # than PHP, which only supports PNG, GIF, JPG, XBM and WBMP.
50 # Set $wgUseImageMagick to true to use Image Magick instead
51 # of the builtin functions
52 $wgUseImageMagick               = false;
53 $wgImageMagickConvertCommand    = "/usr/bin/convert";
55 # Turn this on during database maintenance
56 # $wgReadOnly = true;
58 # Turn this on to get HTML debug comments
59 # $wgDebugComments      = true;
61 # If you want a non-English wiki, add a line like this
62 # $wgLanguageCode = "de";
64 $wgUseTeX                       = false;
65 $wgUseCategoryMagic = true ;
67 $wgLocalInterwiki   = "w";
69 $wgInputEncoding        = "ISO-8859-1";
70 $wgOutputEncoding       = "ISO-8859-1";
72 # Extremely high-traffic wikis may want to disable
73 # some database-intensive features here:
75 # $wgDisableTextSearch = true;
76 # $wgDisableCounters = true;
77 # $wgMiserMode          = true;
79 # The following three config variables are used to define
80 # the rights of users in your system. 
82 # If wgWhitelistEdit is set to true, only logged in users
83 # are allowed to edit articles.
84 # If wgWhitelistRead is set to true, only logged in users
85 # are allowed to read articles.
87 # wgWhitelistAccount lists user types that can add user accounts:
88 # "key" => 1 defines permission if user has right "key".
90 # Typical setups are:
92 # Everything goes (this is the default behaviour):
93 # $wgWhitelistEdit = false;
94 # $wgWhitelistRead = false;
95 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
97 # Invitation-only closed shop type of system
98 # $wgWhitelistEdit = true;
99 # $wgWhitelistRead = true;
100 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
102 # Public website, closed editorial team
103 # $wgWhitelistEdit = true;
104 # $wgWhitelistRead = false;
105 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );