Topic on Extension talk:TemplateData

After import, a template requires a manual re-save for TemplateData to work

2
MLRodrigue (talkcontribs)

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.

Tacsipacsi (talkcontribs)

As noted in Help:TemplateData#Limitations and feedback, a null edit is sometimes required for TemplateData to update. This can happen while importing as well. However, no actual edit (and thus no page history spam) is needed; and if you have Pywikibot set up, you can use touch.py to automate the null edits (this requires no direct shell access to the server).

Reply to "After import, a template requires a manual re-save for TemplateData to work"