X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDefaultSettings.php;h=c21301f1b9afb15f37247e47834a140613e2fa2a;hb=59b627b0b7ad87317601f676a1ebd2441f63f59d;hp=9eff602bf48c17b1ddf6e8e13cc7ceee629746f9;hpb=ecaa5e87af254096793e3b6dd3aee7df0ec4e4f0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 9eff602bf4..c21301f1b9 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -720,6 +720,14 @@ $wgCopyUploadAsyncTimeout = false; */ $wgMaxUploadSize = 1024 * 1024 * 100; # 100MB +/** + * Minimum upload chunk size, in bytes. When using chunked upload, non-final + * chunks smaller than this will be rejected. May be reduced based on the + * 'upload_max_filesize' or 'post_max_size' PHP settings. + * @since 1.26 + */ +$wgMinUploadChunkSize = 1024; # 1KB + /** * Point the upload navigation link to an external URL * Useful if you want to use a shared repository by default @@ -5214,6 +5222,12 @@ $wgRateLimits = array( 'ip' => null, // for each anon and recent account 'subnet' => null, // ... within a /24 subnet in IPv4 or /64 in IPv6 ), + 'upload' => array( + 'user' => null, + 'newbie' => null, + 'ip' => null, + 'subnet' => null, + ), 'move' => array( 'user' => null, 'newbie' => null,