X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=cf8e089bee6474c8decbc049807f7aa4b40659a5;hb=c994e92d993764439b20bc6c330c1c2e4522d4ea;hp=a28aa5b3f50eaacbb6a29c3b49a77a5d7a690ac1;hpb=055780106a1d863c936850501fc51894f816ee27;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index a28aa5b3f5..cf8e089bee 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -755,6 +755,8 @@ $wgCopyUploadProxy = false; * timeout longer than the default $wgHTTPTimeout. False means fallback * to default. * + * @var int|bool + * * @since 1.22 */ $wgCopyUploadTimeout = false; @@ -959,6 +961,23 @@ $wgTrustedMediaFormats = [ */ $wgMediaHandlers = []; +/** + * Media handler overrides for parser tests (they don't need to generate actual + * thumbnails, so a mock will do) + */ +$wgParserTestMediaHandlers = [ + 'image/jpeg' => 'MockBitmapHandler', + 'image/png' => 'MockBitmapHandler', + 'image/gif' => 'MockBitmapHandler', + 'image/tiff' => 'MockBitmapHandler', + 'image/webp' => 'MockBitmapHandler', + 'image/x-ms-bmp' => 'MockBitmapHandler', + 'image/x-bmp' => 'MockBitmapHandler', + 'image/x-xcf' => 'MockBitmapHandler', + 'image/svg+xml' => 'MockSvgHandler', + 'image/vnd.djvu' => 'MockDjVuHandler', +]; + /** * Plugins for page content model handling. * Each entry in the array maps a model id to a class name or callback @@ -2036,8 +2055,8 @@ $wgDBmysql5 = false; $wgDBOracleDRCP = false; /** - * Other wikis on this site, can be administered from a single developer - * account. + * Other wikis on this site, can be administered from a single developer account. + * * Array numeric key => database name */ $wgLocalDatabases = []; @@ -3218,14 +3237,6 @@ $wgHTMLFormAllowTableFormat = true; */ $wgUseMediaWikiUIEverywhere = false; -/** - * Temporary variable that determines whether the EditPage class should use OOjs UI or not. - * This will be removed later and OOjs UI will become the only option. - * - * @since 1.29 - */ -$wgOOUIEditPage = true; - /** * Whether to label the store-to-database-and-show-to-others button in the editor * as "Save page"/"Save changes" if false (the default) or, if true, instead as @@ -4884,7 +4895,7 @@ $wgDefaultUserOptions = [ 'date' => 'default', 'diffonly' => 0, 'disablemail' => 0, - 'editfont' => 'default', + 'editfont' => 'monospace', 'editondblclick' => 0, 'editsectiononrightclick' => 0, 'enotifminoredits' => 0, @@ -4933,6 +4944,7 @@ $wgDefaultUserOptions = [ 'watchlisthidepatrolled' => 0, 'watchlisthidecategorization' => 1, 'watchlistreloadautomatically' => 0, + 'watchlistunwatchlinks' => 0, 'watchmoves' => 0, 'watchrollback' => 0, 'wllimit' => 250, @@ -5797,7 +5809,7 @@ $wgPasswordAttemptThrottle = [ // Long term limit. We need to balance the risk // of somebody using this as a DoS attack to lock someone // out of their account, and someone doing a brute force attack. - [ 'count' => 150, 'seconds' => 60*60*48 ], + [ 'count' => 150, 'seconds' => 60 * 60 * 48 ], ]; /** @@ -6828,6 +6840,11 @@ $wgStructuredChangeFiltersEnableExperimentalViews = false; */ $wgStructuredChangeFiltersEnableLiveUpdate = false; +/** + * Whether to enable RCFilters app on Special:Watchlist + */ +$wgStructuredChangeFiltersOnWatchlist = false; + /** * Use new page patrolling to check new pages on Special:Newpages */ @@ -8256,6 +8273,7 @@ $wgShellLocale = 'C.UTF-8'; /** * Timeout for HTTP requests done internally, in seconds. + * @var int */ $wgHTTPTimeout = 25; @@ -8285,8 +8303,6 @@ $wgHTTPProxy = false; * subdomain thereof, then no proxy will be used. * Command-line scripts are not affected by this setting and will always use * the proxy if it is configured. - * - ChronologyProtector: Decide to shutdown LBFactory asynchronously instead - * synchronously if the current response redirects to a local virtual host. * * @since 1.25 */ @@ -8711,6 +8727,18 @@ $wgCSPFalsePositiveUrls = [ 'https://ad.lkqd.net/vpaid/vpaid.js' => true, ]; +/** + * Shortest CIDR limits that can be checked in any individual range check + * at Special:Contributions. + * + * @var array + * @since 1.30 + */ +$wgRangeContributionsCIDRLimit = [ + 'IPv4' => 16, + 'IPv6' => 32, +]; + /** * The following variables define 3 user experience levels: * @@ -8747,6 +8775,13 @@ $wgExperiencedUserMemberSince = 30; # days */ $wgInterwikiPrefixDisplayTypes = []; +/** + * Comment table schema migration stage. + * @since 1.30 + * @var int One of the MIGRATION_* constants + */ +$wgCommentTableSchemaMigrationStage = MIGRATION_OLD; + /** * For really cool vim folding this needs to be at the end: * vim: foldmarker=@{,@} foldmethod=marker