X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FDefaultSettings.php;h=8f610965100185124658be0bbb2d9456256b5c04;hb=bc174c139c43837ec68cf58abc85ad6fbe832feb;hp=7084bc6119a6b41e8e16cfdf05400f8784f76593;hpb=78a58988d45132f5089ebf22a13416210f4be4e5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 7084bc6119..8f61096510 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1,6 +1,7 @@ - as the - * container name and the container root as the zone directory. - * - url Base public URL + * url : base URL to the root of the zone + * Zones default to using - as the container name + * and default to using the container root as the zone's root directory. + * Nesting of zone locations within other zones should be avoided. + * - url Public zone URL. The 'zones' settings take precedence. * - hashLevels The number of directory levels for hash-based division of files * - thumbScriptUrl The URL for thumb.php (optional, not recommended) * - transformVia404 Whether to skip media file transformation on parse and rely on a 404 @@ -1298,6 +1318,7 @@ $wgSharedTables = array( 'user', 'user_properties' ); * - DBO_TRX -- wrap entire request in a transaction * - DBO_IGNORE -- ignore errors (not useful in LocalSettings.php) * - DBO_NOBUFFER -- turn off buffering (not useful in LocalSettings.php) + * - DBO_PERSISTENT -- enables persistent database connections * * - max lag: (optional) Maximum replication lag before a slave will taken out of rotation * - max threads: (optional) Maximum number of running threads @@ -1592,6 +1613,7 @@ $wgObjectCaches = array( 'xcache' => array( 'class' => 'XCacheBagOStuff' ), 'wincache' => array( 'class' => 'WinCacheBagOStuff' ), 'memcached-php' => array( 'class' => 'MemcachedPhpBagOStuff' ), + 'memcached-pecl' => array( 'class' => 'MemcachedPeclBagOStuff' ), 'hash' => array( 'class' => 'HashBagOStuff' ), ); @@ -1873,12 +1895,12 @@ $wgMaxSquidPurgeTitles = 400; * Routing configuration for HTCP multicast purging. Add elements here to * enable HTCP and determine which purges are sent where. If set to an empty * array, HTCP is disabled. - * + * * Each key in this array is a regular expression to match against the purged * URL, or an empty string to match all URLs. The purged URL is matched against * the regexes in the order specified, and the first rule whose regex matches * is used. - * + * * Example configuration to send purges for upload.wikimedia.org to one * multicast group and all other purges to another: * $wgHTCPMulticastRouting = array( @@ -1891,7 +1913,7 @@ $wgMaxSquidPurgeTitles = 400; * 'port' => 4827, * ), * ); - * + * * @see $wgHTCPMulticastTTL */ $wgHTCPMulticastRouting = array(); @@ -1901,12 +1923,12 @@ $wgHTCPMulticastRouting = array(); * * Note that MediaWiki uses the old non-RFC compliant HTCP format, which was * present in the earliest Squid implementations of the protocol. - * + * * This setting is DEPRECATED in favor of $wgHTCPMulticastRouting , and kept * for backwards compatibility only. If $wgHTCPMulticastRouting is set, this * setting is ignored. If $wgHTCPMulticastRouting is not set and this setting * is, it is used to populate $wgHTCPMulticastRouting. - * + * * @deprecated in favor of $wgHTCPMulticastRouting */ $wgHTCPMulticastAddress = false; @@ -4227,6 +4249,14 @@ $wgAggregateStatsID = false; */ $wgDisableCounters = false; +/** + * Set this to an integer to only do synchronous site_stats updates + * one every *this many* updates. The other requests go into pending + * delta values in $wgMemc. Make sure that $wgMemc is a global cache. + * If set to -1, updates *only* go to $wgMemc (useful for daemons). + */ +$wgSiteStatsAsyncFactor = false; + /** * Parser test suite files to be run by parserTests.php when no specific * filename is passed to it. @@ -5732,6 +5762,19 @@ $wgCompiledFiles = array(); /** @} */ # End of HipHop compilation } +/************************************************************************//** + * @name Mobile support + * @{ + */ + +/** + * Name of the class used for mobile device detection, must be inherited from + * IDeviceDetector. + */ +$wgDeviceDetectionClass = 'DeviceDetection'; + +/** @} */ # End of Mobile support } + /************************************************************************//** * @name Miscellaneous * @{