Manual:$wgUploadMaintenance

Details
To disable image delete/restore temporarily.