Add missing getMagicWords()
[mediawiki.git] / LocalSettings.sample
blobb3cffb62db3534007430480c862348163de8053e
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
41 # This code is still slightly experimental. Turn it off if "What links here"
42 # and similar stuff does not work.
43 $wgUseBetterLinksUpdate=true;
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;
69 # The following three config variables are used to define
70 # the rights of users in your system. 
72 # If wgWhitelistEdit is set to true, only logged in users
73 # are allowed to edit articles.
74 # If wgWhitelistRead is set to true, only logged in users
75 # are allowed to read articles.
77 # wgWhitelistAccount lists user types that can add user accounts:
78 # "key" => 1 defines permission if user has right "key".
80 # Typical setups are:
82 # Everything goes (this is the default behaviour):
83 # $wgWhitelistEdit = false;
84 # $wgWhitelistRead = false;
85 # $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
87 # Invitation-only closed shop type of system
88 # $wgWhitelistEdit = true;
89 # $wgWhitelistRead = true;
90 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
92 # Public website, closed editorial team
93 # $wgWhitelistEdit = true;
94 # $wgWhitelistRead = false;
95 # $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );