X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=includes%2FDefaultSettings.php;h=11f08b2bb5a0b14b5a2ce6c74e11f99423b391ec;hb=9081dd1217c574f77a43beab36b436ba43f4188e;hp=5b7ca3ecc9af799ef5db2122955125abd6df3b31;hpb=137c5993e1412ab5b12dfdd2223b206c06205fd8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 5b7ca3ecc9..11f08b2bb5 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1439,24 +1439,20 @@ $wgUploadThumbnailRenderHttpCustomDomain = false; $wgUseTinyRGBForJPGThumbnails = false; /** - * Default parameters for the "" tag - */ -$wgGalleryOptions = [ - // Default number of images per-row in the gallery. 0 -> Adapt to screensize - 'imagesPerRow' => 0, - // Width of the cells containing images in galleries (in "px") - 'imageWidth' => 120, - // Height of the cells containing images in galleries (in "px") - 'imageHeight' => 120, - // Length to truncate filename to in caption when using "showfilename". - // A value of 'true' will truncate the filename to one line using CSS - // and will be the behaviour after deprecation. - // @deprecated since 1.28 - 'captionLength' => true, - // Show the filesize in bytes in categories - 'showBytes' => true, - 'mode' => 'traditional', -]; + * Parameters for the "" tag. + * Fields are: + * - imagesPerRow: Default number of images per-row in the gallery. 0 -> Adapt to screensize + * - imageWidth: Width of the cells containing images in galleries (in "px") + * - imageHeight: Height of the cells containing images in galleries (in "px") + * - captionLength: Length to truncate filename to in caption when using "showfilename". + * A value of 'true' will truncate the filename to one line using CSS + * and will be the behaviour after deprecation. + * @deprecated since 1.28 + * - showBytes: Show the filesize in bytes in categories + * - showDimensions: Show the dimensions (width x height) in categories + * - mode: Gallery mode + */ +$wgGalleryOptions = []; /** * Adjust width of upright images when parameter 'upright' is used @@ -3056,6 +3052,12 @@ $wgDisableTitleConversion = false; */ $wgDefaultLanguageVariant = false; +/** + * Whether to enable the pig latin variant of English (en-x-piglatin), + * used to ease variant development work. + */ +$wgUsePigLatinVariant = false; + /** * Disabled variants array of language variant conversion. * @@ -6116,7 +6118,10 @@ $wgTrxProfilerLimits = [ 'PostSend' => [ 'readQueryTime' => 5, 'writeQueryTime' => 1, - 'maxAffected' => 1000 + 'maxAffected' => 1000, + // Log master queries under the post-send entry point as they are discouraged + 'masterConns' => 0, + 'writes' => 0, ], // Background job runner 'JobRunner' => [ @@ -6328,15 +6333,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). @@ -6767,6 +6773,17 @@ $wgUseRCPatrol = true; */ $wgStructuredChangeFiltersEnableSaving = true; +/** + * Whether to show the new experimental views (like namespaces, tags, and users) in + * RecentChanges filters + */ +$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 */ @@ -8559,6 +8576,15 @@ $wgPopularPasswordFile = __DIR__ . '/../serialized/commonpasswords.cdb'; */ $wgMaxUserDBWriteDuration = false; +/* + * Max time (in seconds) a job-generated transaction can spend in writes. + * If exceeded, the transaction is rolled back with an error instead of being committed. + * + * @var int|bool Disabled if false + * @since 1.30 + */ +$wgMaxJobDBWriteDuration = false; + /** * Mapping of event channels (or channel categories) to EventRelayer configuration. *