If local language's magicwords list is incomplete, try fetching it from the English one
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 5a83e4c..52eb0b1 100644 (file)
@@ -6,7 +6,7 @@
 # like $wgScriptPath, you must also localize everything that
 # depends on it.
 
-$wgVersion                     = "1.3.0pre-alpha";
+$wgVersion                     = "1.3.0beta1";
 
 $wgSitename         = "MediaWiki"; # Please customize!
 $wgMetaNamespace    = FALSE; # will be same as you set $wgSitename
@@ -34,8 +34,9 @@ $wgScript           = "{$wgScriptPath}/index.php";
 $wgRedirectScript   = "{$wgScriptPath}/redirect.php";
 
 $wgStylePath   = "{$wgScriptPath}/style";
+$wgStyleDirectory = "{$IP}/style";
 $wgStyleSheetPath = &$wgStylePath;
-$wgStyleSheetDirectory = "{$IP}/style";
+$wgStyleSheetDirectory = &$wgStyleDirectory;
 $wgArticlePath      = "{$wgScript}?title=$1";
 $wgUploadPath       = "{$wgScriptPath}/upload";
 $wgUploadDirectory     = "{$IP}/upload";
@@ -79,7 +80,6 @@ $wgLocalDatabases   = array();
 $wgDBservers           = false; # e.g. array("larousse", "pliny")
 $wgDBloads                     = false; # e.g. array(0.6, 0.4);
 
-
 # memcached settings
 # See docs/memcached.doc
 #
@@ -108,6 +108,7 @@ $wgAmericanDates    = false; # Enable for English module to print dates
 $wgLocalInterwiki   = "w";
 $wgShowIPinHeader      = true; # For non-logged in users
 $wgMaxNameChars     = 32; # Maximum number of bytes in username
+$wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table
 
 # Translation using MediaWiki: namespace
 # This will increase load times by 25-60% unless memcached is installed
@@ -121,7 +122,7 @@ $wgSiteSupportPage  = "";
 #
 $wgReadOnlyFile         = "{$wgUploadDirectory}/lock_yBgMBwiR";
 
-# The debug log file should be not be publically accessible if it is
+# The debug log file should be not be publicly accessible if it is
 # used, as it may contain private data.
 $wgDebugLogFile         = "";
 $wgDebugRedirects              = false;
@@ -135,7 +136,12 @@ $wgDebugDumpSql         = false;
 # but there has been a database error" pages.
 $wgIgnoreSQLErrors      = false;
 
+# Should [[Category:Dog]] on a page associate it with the
+# category "Dog"? (a link to that category page will be
+# added to the article, clicking it reveals a list of
+# all articles in the category)
 $wgUseCategoryMagic            = true;
+
 $wgEnablePersistentLC  = false;        # Persistent link cache in linkscc table; FAILS on MySQL 3.x
 $wgCompressedPersistentLC = true; # use gzcompressed blobs
 
@@ -261,7 +267,6 @@ $wgCompressRevisions = false;
 
 # This is the list of preferred extensions for uploading files. Uploading
 # files with extensions not in this list will trigger a warning.
-
 $wgFileExtensions = array( "png", "jpg", "jpeg", "ogg" );
 
 # Files with these extensions will never be allowed as uploads.
@@ -298,7 +303,6 @@ $wgNamespacesToBeSearchedDefault = array( -1 => 0, 0 => 1, 1 => 0,
 $wgSiteNotice = "";
 
 # Whether to allow anonymous users to set changes to 'minor'
-
 $wgAllowAnonymousMinor = false;
 
 ## Set $wgUseImageResize to true if you want to enable dynamic
@@ -316,7 +320,9 @@ $wgUseImageResize           = false;
 $wgUseImageMagick              = false;
 $wgImageMagickConvertCommand    = "/usr/bin/convert";
 
-# Make sure include_path is set correctly
+# PHPTal is a library for page templates. MediaWiki includes
+# a recent PHPTal distribution. It is required to use the
+# Monobook (default) skin.
 $wgUsePHPTal = true;
 
 if( !isset( $wgCommandLineMode ) ) {
@@ -326,12 +332,12 @@ if( !isset( $wgCommandLineMode ) ) {
 # Show seconds in Recent Changes
 $wgRCSeconds = false;
 
-
 # RDF metadata toggles
 $wgEnableDublinCoreRdf = false;
 $wgEnableCreativeCommonsRdf = false;
 
 # Override for copyright metadata.
+# TODO: these options need documentation
 $wgRightsPage = NULL;
 $wgRightsUrl = NULL;
 $wgRightsText = NULL;
@@ -349,7 +355,41 @@ $wgCapitalLinks = true;
 # can be imported, these should be 'trusted'.
 $wgImportSources = array();
 
-# For credit to authors. Set to zero to hide attribution block.
+# Set this to the number of authors that you want to be credited
+# below an article text. Set it to zero to hide the attribution block.
+# Note that this will require checking the table of old revisions,
+# which can have a significant impact on performance for large wikis.
 $wgMaxCredits = 0;
 
+# Text matching this regular expression will be recognised as spam
+# See http://en.wikipedia.org/wiki/Regular_expression
+$wgSpamRegex = false; 
+
+# Go button goes straight to the edit screen if the article doesn't exist
+$wgGoToEdit = false;
+
+# Allow limited user-specified HTML in wiki pages?
+# It will be run through a whitelist for security.
+# Set this to false if you want wiki pages to consist only of wiki
+# markup. Note that replacements do not yet exist for all HTML
+# constructs.
+$wgUserHtml = true;
+
+# $wgUseTidy: use tidy to make sure HTML output is sane.
+# This should only be enabled if $wgUserHtml is true.
+# tidy is a free tool that fixes broken HTML. 
+# See http://www.w3.org/People/Raggett/tidy/
+# $wgTidyBin should be set to the path of the binary and 
+# $wgTidyConf to the path of the configuration file.
+# $wgTidyOpts can include any number of parameters.
+$wgUseTidy = false;
+$wgTidyBin = 'tidy';
+$wgTidyConf = $IP.'/extensions/tidy/tidy.conf'; 
+$wgTidyOpts = '';
+
+# See list of skins and their symbolic names in language/Language.php
+$wgDefaultSkin = "monobook";
+
+# Extensions
+$wgExtensionFunctions = array();
 ?>