Similarly to T335915, diffs for changed messages in the Translate user interface now show a "Visual" and "Wikitext" button which should be unnecessary in that context.
Steps to replicate the issue (include links if applicable):
- Navigate to Special:Translate in Translatewiki
- Find a message in your language that has been updated in English (it will have "Outdated" icon next to the unexpanded message)
- Expand such a message and click "Show differences" above the edit box.
Second case:
- Edit a translatable page unit, or view a translatable page with pending changes in units.
- Click on "Mark for translation" page link to get Special:PageTranslation?do=mark
What happens?:
The diff shown will have buttons for "Visual" and "Wikitext" diffs, even though the "Visual" one is unclickable.
What should have happened instead?:
No buttons should be shown.
Software version (skip for WMF-hosted wikis like Wikipedia):
MediaWiki 1.41.0-alpha
Translate version 2023-04-26
Other information (browser name/version, screenshots, etc.):