initialize array before preg_match*
[lhc/web/wiklou.git] / includes / DefaultSettings.php
index 3e9eda6..f4e6027 100644 (file)
@@ -533,6 +533,10 @@ $wgMemCachedDebug   = false; # Will be set to false in Setup.php, if the server
 $wgMemCachedServers = array( '127.0.0.1:11000' );
 $wgMemCachedDebug   = false;
 
+/**
+ * Directory for local copy of message cache, for use in addition to memcached
+ */
+$wgLocalMessageCache = false;
 
 
 # Language settings
@@ -745,6 +749,9 @@ $wgBlockAllowsUTEdit    = false; # Blocks allow users to edit their own user tal
 # NOTE: This will only work if $wgGroupPermissions['*']['read'] 
 # is false -- see below. Otherwise, ALL pages are accessible,
 # regardless of this setting.
+# Also note that this will only protect _pages in the wiki_.
+# Uploaded files will remain readable. Make your upload 
+# directory name unguessable, or use .htaccess to protect it.
 $wgWhitelistRead = false;      
 
 /**
@@ -1172,6 +1179,15 @@ $wgSVGMaxSize = 1024;
  * 12.5 million pixels or 3500x3500
  */
 $wgMaxImageArea = 1.25e7;
+/**
+ * If rendered thumbnail files are older than this timestamp, they
+ * will be rerendered on demand as if the file didn't already exist.
+ * Update if there is some need to force thumbs and SVG rasterizations
+ * to rerender, such as fixes to rendering bugs.
+ */
+$wgThumbnailEpoch = '20030516000000';
+
+
 
 /** Set $wgCommandLineMode if it's not set already, to avoid notices */
 if( !isset( $wgCommandLineMode ) ) {
@@ -1389,7 +1405,11 @@ $wgFeedLimit = 50;
 
 /** _Minimum_ timeout for cached Recentchanges feed, in seconds.
  * A cached version will continue to be served out even if changes
- * are made, until this many seconds runs out since the last render. */
+ * are made, until this many seconds runs out since the last render.
+ *
+ * If set to 0, feed caching is disabled. Use this for debugging only;
+ * feed generation can be pretty slow with diffs.
+ */
 $wgFeedCacheTimeout = 60;
 
 /** When generating Recentchanges RSS/Atom feed, diffs will not be generated for