Steps to replicate the issue (include links if applicable):
- Login as Commons administrator
- Go to a deleted file -> call the undelete Special:Undelete page, i.e. File:La maison à Fleury - Kees van Dongen - Wallraf-Richartz-Museum & Fondation Corboud-5964.jpg
What happens?:
- A JaveScript error pop up:
Console on Firefox shows:
I am not sure, if the error "Uncaught Error: Permission denied to access property "apply"" is related.
What should have happened instead?:
No error should be shown :-)
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Happens since the deployment train rolled out 1.46.0-wmf.7. Therefore probably a regession

