X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=26138892b5e7afa03ff9a20f1694845ec2e17e43;hp=a28aa5b3f50eaacbb6a29c3b49a77a5d7a690ac1;hb=e7720b8f8e09287384ddee271641d1b1721318bb;hpb=033a89c6ca1916fa01271159d7cb60ae8507975b diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index a28aa5b3f5..26138892b5 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -959,6 +959,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 @@ -4884,7 +4901,7 @@ $wgDefaultUserOptions = [ 'date' => 'default', 'diffonly' => 0, 'disablemail' => 0, - 'editfont' => 'default', + 'editfont' => 'monospace', 'editondblclick' => 0, 'editsectiononrightclick' => 0, 'enotifminoredits' => 0, @@ -4933,6 +4950,7 @@ $wgDefaultUserOptions = [ 'watchlisthidepatrolled' => 0, 'watchlisthidecategorization' => 1, 'watchlistreloadautomatically' => 0, + 'watchlistunwatchlinks' => 0, 'watchmoves' => 0, 'watchrollback' => 0, 'wllimit' => 250, @@ -5797,7 +5815,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 +6846,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 */