X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=1361cab2257728861f11da5f3881d2b70d60407f;hb=4df8e9d5958e3d3415a15a9d92763aa2cd6ab940;hp=7cde88c8355f7e0e902672ab8a6defef49b846c8;hpb=65c6f8c19a644490523aad7276a6683817c413da;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 7cde88c835..1361cab225 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -187,7 +187,7 @@ $wgStyleDirectory = false; $wgArticlePath = false; /** - * The URL path for the images directory. Will default to "{$IP}/images" in Setup.php + * The URL path for the images directory. Will default to "{$wgScriptPath}/images" in Setup.php */ $wgUploadPath = false; @@ -557,6 +557,13 @@ $wgCheckFileExtensions = true; */ $wgStrictFileExtensions = true; +/** + * Setting this to true will disable the upload system's checks for HTML/JavaScript. + * THIS IS VERY DANGEROUS on a publicly editable site, so USE wgGroupPermissions + * TO RESTRICT UPLOADING to only those that you trust + */ +$wgDisableUploadScriptChecks = false; + /** Warn if uploaded files are larger than this (in bytes), or false to disable*/ $wgUploadSizeWarning = false; @@ -1308,9 +1315,6 @@ $wgDBAvgStatusPoll = 2000; /** Set to true if using InnoDB tables */ $wgDBtransactions = false; -/** Set to true for compatibility with extensions that might be checking. - * MySQL 3.23.x is no longer supported. */ -$wgDBmysql4 = true; /** * Set to true to engage MySQL 4.1/5.0 charset-related features; @@ -1485,7 +1489,7 @@ $wgCacheDirectory = false; * - CACHE_NONE: Do not cache * - CACHE_DB: Store cache objects in the DB * - CACHE_MEMCACHED: MemCached, must specify servers in $wgMemCachedServers - * - CACHE_ACCEL: eAccelerator, APC, XCache or WinCache + * - CACHE_ACCEL: APC, XCache or WinCache * - CACHE_DBA: Use PHP's DBA extension to store in a DBM-style * database. This is slow, and is not recommended for * anything other than debugging. @@ -1525,6 +1529,8 @@ $wgParserCacheType = CACHE_ANYTHING; * given, giving a callable function which will generate a suitable cache object. * * The other parameters are dependent on the class used. + * - CACHE_DBA uses $wgTmpDirectory by default. The 'dir' parameter let you + * overrides that. */ $wgObjectCaches = array( CACHE_NONE => array( 'class' => 'EmptyBagOStuff' ), @@ -1535,7 +1541,6 @@ $wgObjectCaches = array( CACHE_ACCEL => array( 'factory' => 'ObjectCache::newAccelerator' ), CACHE_MEMCACHED => array( 'factory' => 'ObjectCache::newMemcached' ), - 'eaccelerator' => array( 'class' => 'eAccelBagOStuff' ), 'apc' => array( 'class' => 'APCBagOStuff' ), 'xcache' => array( 'class' => 'XCacheBagOStuff' ), 'wincache' => array( 'class' => 'WinCacheBagOStuff' ), @@ -2247,7 +2252,7 @@ $wgShowIPinHeader = true; * Use a user's real name inside the user interface for display instead of the username * (experimental) */ -$wgRealNameInInterface = true; +$wgRealNameInInterface = false; /** * Site notice shown at the top of each page @@ -2448,11 +2453,6 @@ $wgVectorUseSimpleSearch = false; */ $wgVectorUseIconWatch = false; -/** - * Show the name of the current variant as a label in the variants drop-down menu - */ -$wgVectorShowVariantName = false; - /** * Display user edit counts in various prominent places. */ @@ -2466,6 +2466,18 @@ $wgEdititis = false; */ $wgBetterDirectionality = true; +/** + * Some web hosts attempt to rewrite all responses with a 404 (not found) + * status code, mangling or hiding MediaWiki's output. If you are using such a + * host, you should start looking for a better one. While you're doing that, + * set this to false to convert some of MediaWiki's 404 responses to 200 so + * that the generated error pages can be seen. + * + * In cases where for technical reasons it is more important for MediaWiki to + * send the correct status code than for the body to be transmitted intact, + * this configuration variable is ignored. + */ +$wgSend404Code = true; /** @} */ # End of output format settings } @@ -2960,7 +2972,7 @@ $wgTidyInternal = extension_loaded( 'tidy' ); $wgDebugTidy = false; /** Allow raw, unchecked HTML in ... sections. - * THIS IS VERY DANGEROUS on a publically editable site, so USE wgGroupPermissions + * THIS IS VERY DANGEROUS on a publicly editable site, so USE wgGroupPermissions * TO RESTRICT EDITING to only those that you trust */ $wgRawHtml = false; @@ -3367,9 +3379,8 @@ $wgEmailConfirmToEdit = false; /** * Permission keys given to users in each group. - * This is an array where the keys are all groups and each value is either: - * a) An array of the format (right => boolean) - * b) An array of the format (right => namespace => boolean) + * This is an array where the keys are all groups and each value is an + * array of the format (right => boolean). * * The second format is used to support per-namespace permissions. * Note that this feature does not fully work for all permission types. @@ -3469,7 +3480,6 @@ $wgGroupPermissions['sysop']['movefile'] = true; $wgGroupPermissions['sysop']['unblockself'] = true; $wgGroupPermissions['sysop']['suppressredirect'] = true; #$wgGroupPermissions['sysop']['mergehistory'] = true; -#$wgGroupPermissions['sysop']['trackback'] = true; // Permission to change users' group assignments $wgGroupPermissions['bureaucrat']['userrights'] = true; @@ -4121,14 +4131,6 @@ $wgAggregateStatsID = false; */ $wgDisableCounters = false; -/** - * Support blog-style "trackbacks" for articles. See - * http://www.sixapart.com/pronet/docs/trackback_spec for details. - * - * If enabling this, you also need to grant the 'trackback' right to a group - */ -$wgUseTrackbacks = false; - /** * Parser test suite files to be run by parserTests.php when no specific * filename is passed to it. @@ -4160,11 +4162,18 @@ $wgParserTestRemote = false; /** - * Overwrite the caching key prefix with custom value. Do not set if using - * load balancer, since it depends on the key being in certain format. + * Overwrite the caching key prefix with custom value. + * @since 1.19 + */ +$wgCachePrefix = false; + +/** + * Display the new debugging toolbar. This also enables profiling on database + * queries and other useful output. + * * @since 1.19 */ -$wgWikiID = false; +$wgDebugToolbar = false; /** @} */ # end of profiling, testing and debugging } @@ -5247,7 +5256,6 @@ $wgMaxRedirectLinksRetrieved = 500; */ $wgActions = array( 'credits' => true, - 'deletetrackback' => true, 'history' => true, 'info' => true, 'markpatrolled' => true,