X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=77d7b0e52a453379279464b9cf5f2de50d6d0c8b;hb=f3a51244a3d19862044b4832dc2bd332c89fc028;hp=1459ab65a9b00653d79929533fe44467b5095f8f;hpb=8e185ecb2b53217665ea53f63119a28b3f80ff56;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 1459ab65a9..77d7b0e52a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1304,7 +1304,7 @@ $wgMimeInfoFile = 'includes/mime.info'; * Sets an external MIME detector program. The command must print only * the MIME type to standard output. * The name of the file to process will be appended to the command given here. - * If not set or NULL, PHP's fileinfo extension will be used if available. + * If not set or NULL, PHP's mime_content_type function will be used. * * @par Example: * @code @@ -3754,20 +3754,18 @@ $wgResourceLoaderValidateStaticJS = false; * at the beginning of all your .less files, with all the consequences. * In particular, string values must be escaped and quoted. * - * Changes to LESS variables do not trigger cache invalidation. - * - * If the LESS variables need to be dynamic, you can use the - * ResourceLoaderGetLessVars hook (since 1.25). + * Changes to this configuration do NOT trigger cache invalidation. * * @par Example: * @code * $wgResourceLoaderLESSVars = [ - * 'baseFontSize' => '1em', - * 'smallFontSize' => '0.75em', - * 'WikimediaBlue' => '#006699', + * 'exampleFontSize' => '1em', + * 'exampleBlue' => '#eee', * ]; * @endcode * @since 1.22 + * @deprecated since 1.30 Use ResourceLoaderModule::getLessVars() instead to + * add variables to individual modules that need them. */ $wgResourceLoaderLESSVars = [ /** @@ -5027,6 +5025,9 @@ $wgBlockDisablesLogin = false; * @note Also that this will only protect _pages in the wiki_. Uploaded files * will remain readable. You can use img_auth.php to protect uploaded files, * see https://www.mediawiki.org/wiki/Manual:Image_Authorization + * + * @note Extensions should not modify this, but use the TitleReadWhitelist + * hook instead. */ $wgWhitelistRead = false; @@ -6333,15 +6334,16 @@ $wgSiteStatsAsyncFactor = false; * Parser test suite files to be run by parserTests.php when no specific * filename is passed to it. * - * Extensions may add their own tests to this array, or site-local tests - * may be added via LocalSettings.php + * Extensions using extension.json will have any *.txt file in a + * tests/parser/ directory automatically run. + * + * Core tests can be added to ParserTestRunner::$coreTestFiles. * * Use full paths. + * + * @deprecated since 1.30 */ -$wgParserTestFiles = [ - "$IP/tests/parser/parserTests.txt", - "$IP/tests/parser/extraParserTests.txt" -]; +$wgParserTestFiles = []; /** * Allow running of javascript test suites via [[Special:JavaScriptTest]] (such as QUnit). @@ -6778,6 +6780,11 @@ $wgStructuredChangeFiltersEnableSaving = true; */ $wgStructuredChangeFiltersEnableExperimentalViews = false; +/** + * Whether to allow users to use the experimental live update feature in the new RecentChanges UI + */ +$wgStructuredChangeFiltersEnableLiveUpdate = false; + /** * Use new page patrolling to check new pages on Special:Newpages */ @@ -8292,6 +8299,20 @@ $wgUpdateRowsPerQuery = 100; */ $wgExternalDiffEngine = false; +/** + * wikidiff2 supports detection of changes in moved paragraphs. + * This setting controls the maximum number of paragraphs to compare before it bails out. + * Supported values: + * * 0: detection of moved paragraphs is disabled + * * int > 0: maximum number of paragraphs to compare + * Note: number of paragraph comparisons is in O(n^2). + * This setting is only effective if the wikidiff2 PHP/HHVM module is used as diffengine. + * See $wgExternalDiffEngine. + * + * @since 1.30 + */ +$wgWikiDiff2MovedParagraphDetectionCutoff = 0; + /** * Disable redirects to special pages and interwiki redirects, which use a 302 * and have no "redirected from" link.