Manual:$wgUploadSizeWarning
From Linux Web Expert
<translate> Files and file uploads</translate>: $wgUploadSizeWarning | |
---|---|
Warn if uploaded files are larger than this. |
|
<translate> Introduced in version:</translate> | 1.3.0 |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (integer >= 0) |
<translate> Default value:</translate> | false (1.13+)
150000 (1.3-1.4) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
Details
Warns the user if they attempt to upload a file larger than this value, specified in bytes.
Setting $wgUploadSizeWarning
to zero bytes will disable the warning.
If triggered, the warning will inform the user that files are recommended to be smaller than this value.
The user can choose to ignore the warning and upload the file.
See also
- $wgMaxUploadSize (default is 100 MB)