When I import a template that uses TemplateData to another wiki, the template description and parameters are not shown when adding the template to a page via VisualEditor.
Noteː The parameters in question are either required or suggested, so should show up immediately when the dialog opens.
To make the template work, I have to go to the imported template and re-save it (e.g., by adding an empty space to the template page). After that, the template works correctly in the imported wiki and the parameters and template description are available.
Is this to be expected?
Such templates that use TemplateData are supposed to be imported by wiki users who have no access to maintenance scripts.