Steps to replicate the issue (include links if applicable):
- Go to a page which lists 1 or more existing transcode keys, that no longer exist. Like on https://commons.wikimedia.org/wiki/File:Sintel_movie_4K.webm
- Attempt to reset a transcode
What happens?:
The api call fails because the transcode key is not an enabled key.
What should have happened instead?:
It should still validate against known keys, instead of against enabled keys, delete the transcode, so that the entry and the associated file is removed.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):