X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=3db8ece0062178913b46bf020b00b5e81c808e19;hb=e479611a0aa8cead30acefb0ebbd39dc19b93aa9;hp=47db32283fc1165055421b70a810f4a51739669c;hpb=a02d871457284411f4aef461426db0af40826a47;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 47db32283f..3db8ece006 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -26,7 +26,6 @@ if( !defined( 'MEDIAWIKI' ) ) { die( 1 ); } - # Create a site configuration object. Not used for much in a default install if ( !defined( 'MW_PHP4' ) ) { require_once( "$IP/includes/SiteConfiguration.php" ); @@ -35,7 +34,7 @@ if ( !defined( 'MW_PHP4' ) ) { /** @endcond */ /** MediaWiki version number */ -$wgVersion = '1.17alpha'; +$wgVersion = '1.18alpha'; /** Name of the site. It must be changed in LocalSettings.php */ $wgSitename = 'MediaWiki'; @@ -140,7 +139,6 @@ $wgScript = false; * Defaults to "{$wgScriptPath}/redirect{$wgScriptExtension}". */ $wgRedirectScript = false; ///< defaults to -/**@}*/ /** * The URL path to load.php. @@ -149,6 +147,8 @@ $wgRedirectScript = false; ///< defaults to */ $wgLoadScript = false; +/**@}*/ + /************************************************************************//** * @name URLs and file paths * @@ -1043,6 +1043,7 @@ $wgSMTP = false; /** * Additional email parameters, will be passed as the last argument to mail() call. + * If using safe_mode this has no effect */ $wgAdditionalMailParams = null; @@ -1601,6 +1602,14 @@ $wgUseFileCache = false; */ $wgFileCacheDirectory = false; +/** + * Depth of the subdirectory hierarchy to be created under + * $wgFileCacheDirectory. The subdirectories will be named based on + * the MD5 hash of the title. A value of 0 means all cache files will + * be put directly into the main file cache directory. + */ +$wgFileCacheDepth = 2; + /** * Keep parsed pages in a cache (objectcache table or memcached) * to speed up output of the same page viewed by another user with the @@ -1657,6 +1666,17 @@ $wgUseETag = false; */ $wgClockSkewFudge = 5; +/** + * Invalidate various caches when LocalSettings.php changes. This is equivalent + * to setting $wgCacheEpoch to the modification time of LocalSettings.php, as + * was previously done in the default LocalSettings.php file. + * + * On high-traffic wikis, this should be set to false, to avoid the need to + * check the file modification time, and to avoid the performance impact of + * unnecessary cache invalidations. + */ +$wgInvalidateCacheOnLocalSettingsChange = true; + /** @} */ # end of cache settings /************************************************************************//** @@ -2269,15 +2289,14 @@ $wgExperimentalHtmlIds = true; * of new blocks in monobook. vector and modern should work without any special css. * * $wgFooterIcons itself is a key/value array. - * The key os the name of a block that the icons will be wrapped in. - * The final id varries by skin; Monobook and Vector will turn poweredby into f-poweredbyico - * while Modern turns it into mw_poweredby. - * The value is a key/value array of icons. The key may or may not be used by the - * skin but it can be used to find the icon and unset it or change the icon if needed. - * This is useful for disabling icons that are set by extensions. - * The value should be either a string or an array. - * If it is a string it will be output directly, however some skins may choose to ignore it. - * An array is the preferred format for the icon, the following keys are used: + * The key is the name of a block that the icons will be wrapped in. The final id varies + * by skin; Monobook and Vector will turn poweredby into f-poweredbyico while Modern + * turns it into mw_poweredby. The value is a key/value array of icons. The key may or + * may not be used by the skin but it can be used to find the icon and unset it or + * change the icon if needed. This is useful for disabling icons that are set by extensions. + * The value should be either a string or an array. If it is a string it will be output + * directly, however some skins may choose to ignore it. An array is the preferred format + * for the icon, the following keys are used: * src: An absolute url to the image to use for the icon, this is recommended * but not required, however some skins will ignore icons without an image * url: The url to use in the arround the text or icon, if not set an will not be outputted @@ -2478,8 +2497,15 @@ $wgNamespaceAliases = array(); */ $wgLegalTitleChars = " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+"; -$wgLocalInterwiki = 'w'; -$wgInterwikiExpiry = 10800; # Expiry time for cache of interwiki table +/** + * The interwiki prefix of the current wiki, or false if it doesn't have one. + */ +$wgLocalInterwiki = false; + +/** + * Expiry time for cache of interwiki table + */ +$wgInterwikiExpiry = 10800; /** Interwiki caching settings. $wgInterwikiCache specifies path to constant database file @@ -3844,8 +3870,8 @@ $wgUseTrackbacks = false; * Use full paths. */ $wgParserTestFiles = array( - "$IP/maintenance/tests/parser/parserTests.txt", - "$IP/maintenance/tests/parser/ExtraParserTests.txt" + "$IP/tests/parser/parserTests.txt", + "$IP/tests/parser/extraParserTests.txt" ); /** @@ -4106,8 +4132,13 @@ $wgReadOnly = null; $wgReadOnlyFile = false; /** - * If this is set to some string, this opens up config/index.php for upgrades - * when needed. You will need to provide this key to use it + * When you run the web-based upgrade utility, it will tell you what to set + * this to in order to authorize the upgrade process. It will subsequently be + * used as a password, to authorize further upgrades. + * + * For security, do not set this to a guessable string. Use the value supplied + * by the install/upgrade process. To cause the upgrader to generate a new key, + * delete the old key from LocalSettings.php. */ $wgUpgradeKey = false; @@ -5200,37 +5231,6 @@ $wgPoolCounterConf = null; */ $wgUploadMaintenance = false; -/** - * The location of the MediaWiki package repository to use. - * - * @since 1.17 - * @var string - */ -$wgRepositoryApiLocation = 'http://www.mediawiki.org/w/api.php'; - -/** - * The location of the remote web interface for the selected repository. - * - * @since 1.17 - * @var string - */ -$wgRepositoryLocation = 'http://www.mediawiki.org/wiki/Special:Repository'; - -/** - * List of package states to filter update detection and extension listing on. - * - * @since 1.17 - * @var array - */ -$wgRepositoryPackageStates = array( - //'dev', - //'alpha', - 'beta', - //'rc', - 'stable', - //'deprecated', -); - /** * Allows running of selenium tests via maintenance/tests/RunSeleniumTests.php */ @@ -5238,8 +5238,6 @@ $wgEnableSelenium = false; $wgSeleniumTestConfigs = array(); $wgSeleniumConfigFile = null; - - /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker