Manual:$wgDisableUploads

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎polski • ‎日本語
Uploads: $wgDisableUploads
Determines whether file uploads are allowed.
Introduced in version:pre 1.1.0
Removed in version:1.5.0
Allowed values:(boolean)
Default value:true

Details[edit]

If set, disables the upload page and hides the link. Note that downloads have to be set up correctly in order to be secure, so this setting allows you to disable the feature if you are worried about security.

Since v1.5.0 $wgDisableUploads has been deprecated in favour of $wgEnableUploads .