X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=f4e602770ca7b1c609ca047e618327b00d99c422;hb=a8cc4dc52cb73cea3553b53cd0ff426fe272da28;hp=3e9eda6e7ad130ac5bce9ce59bb639615d3b672c;hpb=8b0761500e739aed0bc35024ecbc724b76975a39;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 3e9eda6e7a..f4e602770c 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -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