Manual:$wgAjaxUploadDestCheck

Details
Enable Ajax check for file overwrite, pre-upload.

This is not related to the deprecated functionality.