Steps to replicate the issue (include links if applicable):
- Try to save a page with the (invalid) wikitext <translate><pre></pre>{{Foo}}
What happens?:
The error escapes from the code block in the translate tags and gets interpreted as wikitext.
What should have happened instead?:
Not that.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Probably not at all worth fixing, but filing for the record anyway. Discovered while investigating T379808