We want to log the following for every instance of TemplateWizard use (for every saved edit):
- When TemplateWizard launches
- When a template from recently used list is selected
- When a template is discarded using the trash icon
- When the 'Insert' button is clicked to insert a template
- When the dialog is closed using the 'Close' button
- Record which templates were inserted into the article on insertion
- Record which templates were inserted into the article on successful save
Along with the above, we want to -
record the wiki on which the action occurred
record the parent edit revision ID so we can later see how many of the edits made with TemplateWizard got reverted.
For all of these actions, we need to come up with a robust logging schema that will allow us to pull data into graphs and examine the behavior.
Schema location: https://meta.wikimedia.org/wiki/Schema:TemplateWizard