typo leading to fatal error.
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index b0b9e7e..3532b6e 100644 (file)
@@ -25,10 +25,10 @@ unset($wgProto);
 
 $wgScriptPath      = "/wiki";
 
-# ATTN: Old installations used wiki.phtml and redirect.phtml -
 # Whether to support URLs like index.php/Page_title
 $wgUsePathInfo         = ( strpos( php_sapi_name(), "cgi" ) === false );
 
+# ATTN: Old installations used wiki.phtml and redirect.phtml -
 # make sure that LocalSettings.php is correctly set!
 $wgScript           = "{$wgScriptPath}/index.php";
 $wgRedirectScript   = "{$wgScriptPath}/redirect.php";
@@ -68,6 +68,8 @@ $wgDBtransactions     = false; # Set to true if using InnoDB tables
 $wgDBmysql4                    = false; # Set to true to use enhanced fulltext search
 $wgSqlTimeout          = 30;
 
+$wgBufferSQLResults     = true; # use buffered queries by default
+
 # Other wikis on this site, can be administered from a single developer account
 # Array, interwiki prefix => database name
 $wgLocalDatabases   = array();
@@ -128,7 +130,11 @@ $wgReadOnly             = false;
 $wgLogQueries           = false;
 $wgDebugDumpSql         = false;
 
-$wgUseCategoryMagic            = false;
+# Whether to disable automatic generation of "we're sorry,
+# but there has been a database error" pages.
+$wgIgnoreSQLErrors      = false;
+
+$wgUseCategoryMagic            = true;
 $wgEnablePersistentLC  = false;        # Persistent link cache in linkscc table; FAILS on MySQL 3.x
 $wgCompressedPersistentLC = true; # use gzcompressed blobs
 
@@ -304,9 +310,8 @@ $wgUseImageResize           = false;
 $wgUseImageMagick              = false;
 $wgImageMagickConvertCommand    = "/usr/bin/convert";
 
-# Enable experimental smarty skins (put Smarty/libs in your include_path!)
-$wgUseSmarty = false;
-$wgUsePHPTal = false;
+# Make sure include_path is set correctly
+$wgUsePHPTal = true;
 
 if( !isset( $wgCommandLineMode ) ) {
        $wgCommandLineMode = false;
@@ -317,15 +322,14 @@ $wgRCSeconds = false;
 
 
 # RDF metadata toggles
-
 $wgEnableDublinCoreRdf = false;
 $wgEnableCreativeCommonsRdf = false;
 
 # Override for copyright metadata.
-
 $wgRightsPage = NULL;
 $wgRightsUrl = NULL;
 $wgRightsText = NULL;
+$wgRightsIcon = NULL;
 
 # Set this to false to avoid forcing the first letter of links
 # to capitals. WARNING: may break links! This makes links
@@ -334,4 +338,9 @@ $wgRightsText = NULL;
 # as links in the middle of a sentence using a lowercase initial.
 $wgCapitalLinks = true;
 
+# List of interwiki prefixes for wikis we'll accept as sources
+# for Special:Import (for sysops). Since complete page history
+# can be imported, these should be 'trusted'.
+$wgImportSources = array();
+
 ?>