Manual:$wgUploadSizeWarning

From MediaWiki.org
Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.

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