96 lines
3.1 KiB
Text
96 lines
3.1 KiB
Text
<?
|
|
# Local settings work like this: the file LocalSettings.sample
|
|
# should be copied to LocalSettings.php in the source directory
|
|
# and edited for your local file system settings and software
|
|
# configuration preferences. The install script will copy it to
|
|
# the installation path, but a copy should also remain in the
|
|
# source tree so that maintenance scripts can refer to it (you
|
|
# may want to make it a symbolic link after installation). Do
|
|
# not check LocalSettings.php into CVS! It is different for
|
|
# every installation, and must not be overridden.
|
|
|
|
# The most important setting is here: $IP is the installation
|
|
# path for the software.
|
|
#
|
|
|
|
$IP = "/usr/local/apache/htdocs/wiki";
|
|
|
|
if ( ! isset( $DP ) ) { $DP = $IP; }
|
|
include_once( "$DP/DefaultSettings.php" );
|
|
|
|
# You can customize a lot of URLs and paths, but you will
|
|
# almost certainly want to customize the following. The
|
|
# ArticlePath one is especially useful if you want to use
|
|
# mod_redirect to make page-viewing URLs look static.
|
|
#
|
|
$wgServer = "http://www.myhost.com";
|
|
$wgScriptPath = "/wiki";
|
|
$wgArticlePath = "{$wgScript}?title=$1";
|
|
$wgEmergencyContact = "wikiadmin@myhost.com";
|
|
|
|
# MySQL settings
|
|
#
|
|
$wgDBserver = "localhost";
|
|
$wgDBuser = "wikiuser";
|
|
$wgDBname = "wikidb";
|
|
$wgDBpassword = "userpass";
|
|
$wgDBsqlpassword = "sqlpass";
|
|
$wgDBminWordLen = 3; # Match this to your MySQL fulltext
|
|
$wgDBtransactions = false; # Set to true if using InnoDB tables
|
|
|
|
# This code is still slightly experimental. Turn it off if "What links here"
|
|
# and similar stuff does not work.
|
|
$wgUseBetterLinksUpdate=true;
|
|
|
|
# Turn this on during database maintenance
|
|
# $wgReadOnly = true;
|
|
|
|
# Turn this on to get HTML debug comments
|
|
# $wgDebugComments = true;
|
|
|
|
# If you want a non-English wiki, add a line like this
|
|
# $wgLanguageCode = "de";
|
|
|
|
$wgUseTeX = false;
|
|
$wgUseCategoryMagic = true ;
|
|
|
|
$wgLocalInterwiki = "w";
|
|
|
|
$wgInputEncoding = "ISO-8859-1";
|
|
$wgOutputEncoding = "ISO-8859-1";
|
|
|
|
# Extremely high-traffic wikis may want to disable
|
|
# some database-intensive features here:
|
|
#
|
|
# $wgDisableTextSearch = true;
|
|
# $wgDisableCounters = true;
|
|
# $wgMiserMode = true;
|
|
|
|
# The following three config variables are used to define
|
|
# the rights of users in your system.
|
|
#
|
|
# If wgWhitelistEdit is set to true, only logged in users
|
|
# are allowed to edit articles.
|
|
# If wgWhitelistRead is set to true, only logged in users
|
|
# are allowed to read articles.
|
|
#
|
|
# wgWhitelistAccount lists user types that can add user accounts:
|
|
# "key" => 1 defines permission if user has right "key".
|
|
#
|
|
# Typical setups are:
|
|
#
|
|
# Everything goes (this is the default behaviour):
|
|
# $wgWhitelistEdit = false;
|
|
# $wgWhitelistRead = false;
|
|
# $wgWhitelistAccount = array ( "user" => 1, "sysop" => 1, "developer" => 1 );
|
|
#
|
|
# Invitation-only closed shop type of system
|
|
# $wgWhitelistEdit = true;
|
|
# $wgWhitelistRead = true;
|
|
# $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
|
|
#
|
|
# Public website, closed editorial team
|
|
# $wgWhitelistEdit = true;
|
|
# $wgWhitelistRead = false;
|
|
# $wgWhitelistAccount = array ( "user" => 0, "sysop" => 1, "developer" => 1 );
|
|
?>
|