X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=2d1ddcb2c4482ed1460526240763e996eb5308a6;hb=fd26d27c094cc962d59a7477afdc1c232f13eb2c;hp=8215bd8d770304204fdeed54ac677cecd822b535;hpb=6c539fc9e62c04172ba44aae54cb11acf3995255;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 8215bd8d77..2d1ddcb2c4 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -2285,7 +2285,8 @@ $wgSquidServers = array(); /** * As above, except these servers aren't purged on page changes; use to set a - * list of trusted proxies, etc. + * list of trusted proxies, etc. Supports both individual IP addresses and + * CIDR blocks. */ $wgSquidServersNoPurge = array(); @@ -3322,6 +3323,22 @@ $wgResourceLoaderLESSImportPaths = array( "$IP/resources/mediawiki.less/", ); +/** + * Whether ResourceLoader should attempt to persist modules in localStorage on + * browsers that support the Web Storage API. + * + * @since 1.23 - Client-side module persistence is experimental. Exercise care. + */ +$wgResourceLoaderStorageEnabled = false; + +/** + * Cache version for client-side ResourceLoader module storage. You can trigger + * invalidation of the contents of the module store by incrementing this value. + * + * @since 1.23 + */ +$wgResourceLoaderStorageVersion = 1; + /** @} */ # End of resource loader settings } /*************************************************************************//** @@ -4879,10 +4896,29 @@ $wgDebugDBTransactions = false; $wgDebugDumpSql = false; /** - * Set to an array of log group keys to filenames. + * Map of string log group names to log destinations. + * * If set, wfDebugLog() output for that group will go to that file instead * of the regular $wgDebugLogFile. Useful for enabling selective logging * in production. + * + * Log destinations may be string values specifying a filename or URI, or they + * may be filename or an associative array mapping 'destination' to the desired + * filename. The associative array may also contain a 'sample' key with an + * integer value, specifying a sampling factor. + * + * @par Example: + * @code + * $wgDebugLogGroups['redis'] = '/var/log/mediawiki/redis.log'; + * @endcode + * + * @par Advanced example: + * @code + * $wgDebugLogGroups['memcached'] = ( + * 'destination' => '/var/log/mediawiki/memcached.log', + * 'sample' => 1000, // log 1 message out of every 1,000. + * ); + * @endcode */ $wgDebugLogGroups = array(); @@ -4924,37 +4960,6 @@ $wgShowSQLErrors = false; */ $wgShowExceptionDetails = false; -/** - * Array of functions which need parameters redacted from stack traces shown to - * clients and logged. Keys are in the format '[class::]function', and the - * values should be either an integer or an array of integers. These are the - * indexes of the parameters which need to be kept secret. - * @since 1.22 - */ -$wgRedactedFunctionArguments = array( - 'AuthPlugin::setPassword' => 1, - 'AuthPlugin::authenticate' => 1, - 'AuthPlugin::addUser' => 1, - - 'DatabaseBase::__construct' => 2, - 'DatabaseBase::open' => 2, - - 'SpecialChangeEmail::attemptChange' => 1, - 'SpecialChangePassword::attemptReset' => 0, - - 'User::setPassword' => 0, - 'User::setInternalPassword' => 0, - 'User::checkPassword' => 0, - 'User::setNewpassword' => 0, - 'User::comparePasswords' => array( 0, 1 ), - 'User::checkTemporaryPassword' => 0, - 'User::setToken' => 0, - 'User::crypt' => 0, - 'User::oldCrypt' => 0, - 'User::getPasswordValidity' => 0, - 'User::isValidPassword' => 0, -); - /** * If true, show a backtrace for database errors */ @@ -5953,6 +5958,13 @@ $wgSpecialPages = array(); */ $wgAutoloadClasses = array(); +/** + * Switch controlling legacy case-insensitive classloading. + * Do not disable if your wiki must support data created by PHP4, or by + * MediaWiki 1.4 or earlier. + */ +$wgAutoloadAttemptLowercase = true; + /** * An array of extension types and inside that their names, versions, authors, * urls, descriptions and pointers to localized description msgs. Note that @@ -6629,7 +6641,7 @@ $wgCrossSiteAJAXdomainExceptions = array(); /** * Maximum amount of virtual memory available to shell processes under linux, in KB. */ -$wgMaxShellMemory = 102400; +$wgMaxShellMemory = 307200; /** * Maximum file size created by shell processes under linux, in KB