Steps I completed to encounter the issue:
Note: Unfortunately, this error occurred when generating TemplateData on a Template which had no TemplateData to begin with, and is therefore unreplicable.
- Edit source Template:Infobox earthquake
- Clicked Manage TemplateData
- Filled parameters, etc., and clicked Apply and Publish changes
Actual results:
- The <templatedata> with its data was inserted in between {{documentation} and }—see the diff. This, of course, caused an error as can be seen in the diff.
Expected results:
- Insertion of <templatedata> with its data after {{documentation}}
Additional information
I am unsure if it occurred because my cursor was between {{documentation} and } while in source edit mode before clicking Manage TemplateData, but I highly doubt this is the case as I didn't scroll around and click anywhere before clicking the Manage TemplateData button. However, in either case, this issue shouldn't occur