Steps to reproduce:
- Insert a template with TemplateData, whose parameters are in the order A, B, C.
- "Add more information", and click the fields in this order: C, B, A.
Results:
The parameters will be displayed in the template dialog in the correct order (A, B, C). However, when the page is saved, the resulting wikitext adds them in the order that you selected them in the template dialog (C, B, A).
Expected behavior:
Always follow the parameter order in TemplateData.