Steps to replicate the issue (include links if applicable):
- Go to e.g. https://test.wikipedia.org/wiki/Special:Log?type=block&subtype=block
- This presets "Type of block" to "Block".
- Try switching the log type to one that is incompatible with subtype=block (e.g., the move log)
What happens?:
- The "Type of move" field does not support "block" as a value, so the error message "The value you specified is not a valid option." is shown, and no log entries are displayed.
What should have happened instead?:
- When the page is displayed as a result of a form submission, it should reset incompatible field values so that log entries for the newly selected log type are shown correctly.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
- N/A
Other information (browser name/version, screenshots, etc.):