Manual:$wgUploadSizeWarning

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgUploadSizeWarning and the translation is 30% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎日本語
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 (1.13+)

150 * 1024 (1.5-1.12)

150000 (1.3-1.4)
Other settings: Alphabetical | By function

Detalls

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.

Vegeu també