List of steps to reproduce (step by step, including full links if applicable):
- Go to a cascade protected file, such as those on the Wikimedia Commons main page
- Click edit on a statement and remove it
- Click publish
What happens?:
Ugly HTML from the API
What should have happened instead?:
It should be parsed as HTML
The error is displayed correctly when you simply edit the statements, the API response appears to be the same for deleting or editing statements on a cascade protected file.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
Similar to T209502, T248676, T244350