List of steps to reproduce:
- On Commons, enable "new wikitext mode" (2017 wikitext editor) in beta preferences
- Go to a local file on a wiki with FileExporter and click the "Export to Wikimedia Commons" button, opening FileImporter on Commons
- Click the "Edit File Info" button
What happens?:
The button briefly loads the default wikitext editor, which is prefilled with the existing file info wikitext. This is quickly replaced by the 2017 wikitext editor, but it is blank.
What should have happened instead?:
The 2017 wikitext editor should be prefilled with the existing file info wikitext, or it should at least gracefully fall back to just using the default wikitext editor.