Manual:$wgUploadMaintenance

Files and file uploads: $wgUploadMaintenance
To disable file delete/restore temporarily.
Introduced in version:1.16.0 (r56215)
Removed in version:Still in use
Allowed values:(boolean)
Default value:false

Details

To disable file delete/restore temporarily. This does not prevent users from uploading files, which currently must be separately disabled using $wgEnableUploads . See task T197461.