Manual:$wgUploadSizeWarning
From MediaWiki.org
Uploads: $wgUploadSizeWarning | |
---|---|
Warn if uploaded files are larger than this. |
|
Introduced in version: | 1.3.0 |
Removed in version: | still in use |
Allowed values: | integer >= 0 |
Default value: | false (150 * 1024 prior to 1.13.0) (150000 prior to 1.5.0) |
Other settings: Alphabetical | By Function
Details [edit]
Warns the user if he attempts 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.
Note: As of version 1.11.1, this warning is not given to the user before the file upload. If he attempts to upload a very large file, it will be a long time before he receives the warning. After the upload completes, if the user cancels, MediaWiki may delete the file.
See Also [edit]
$wgMaxUploadSize (default is 100 MB)
Language: | English • 日本語 |
---|