I haven't found a hook that provides me the file, the wikitext and comment for the description page.
Neither UploadVerification nor UploadVerifyFile doesn't seem to include the necessary description page infos and UploadComplete is too late as file was already uploaded and page created.
and UploadForm:BeforeProcessing doesn't allow nice abort.
I think ideally the hook would run right at the start of UploadBase::performUpload and gets the file, pagetext etc. with the ability to cancel the upload.
Needed for AbuseFilter, T89252.