Manual:$wgDisableUploads

From mediawiki.org
Files and file 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 .