Manual:$wgMinUploadChunkSize

From Linux Web Expert

Revision as of 06:35, 5 February 2021 by imported>Shirayuki (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Files and file uploads</translate>: $wgMinUploadChunkSize
Minimum upload chunk size, in bytes.
<translate> Introduced in version:</translate>1.25.3 (Gerrit change 246885; git #59b627b0)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(integer)
<translate> Default value:</translate>1024 (1KB)

Details

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.

This setting was introduced in a security release in MediaWiki versions 1.25.3, 1.24.4 and 1.23.11 reported in <translate> task <tvar name=1>T91203</tvar></translate> and <translate> task <tvar name=1>T91205</tvar></translate>.