Steps to replicate the issue
- Log in to a wiki as an account with delete, deleterevision, deletedhistory and deletelogentry rights.
- Navigate to Special:Log.
- Select the checkboxes next to any of the listed log events, and click "Change visibility of selected log entries".
What happens?
An "Invalid target revision" error page is displayed:
What should have happened instead?
The user is taken to the "Delete/undelete revisions" page for the selected log events.
Software version
mediawiki/core at ee5c229
Other information/Notes
Reproduced locally using MediaWiki-Docker with a MariaDB database.
git bisect tells me this was broken by rMWb9b84e6651af: Switch from mixed Xml and Html classes to pure Html ones in misc code (https://gerrit.wikimedia.org/r/997975) merged on 2025-04-22; cc @Jdforrester-WMF @matmarex for awareness
