List of steps to reproduce (step by step, including full links if applicable):
https://commons.wikimedia.org/w/index.php?title=special:diff/606409492/606450401
Reported
- Go to a file redirect page (https://test.wikipedia.org/w/index.php?title=File:Test_file_redirect.tif&redirect=no)
- Attempt to delete the page
What happens?:
- The deletion form includes the title of the redirect target, not the redirect page
- If submitted, the redirect target is deleted, not the redirect page
What should have happened instead?:
It should be identifying the redirect, not the redirect target
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
WMF current version (1.38.0-wmf.7)
As a note. Using something like AWB is able to delete properly, so it would seem that the API is unaffected.