We'd like to track the number of successful interactions with the template Dialog in visual editor. We'll define a successful interaction as the user opening the dialog, making a change within it, and saving the change.
Template Dialog in VE:
[x] Collect number times the VE template dialog is opened per day, split by edit count into five groups of users (0-10, 11-100, 101-1.000, 1.001-10.000, 10.001+)
* Existing metric: Schema:VisualEditorFeatureUse, {feature: "transclusion", action: "window-open-*"}
[] Collect number of times the VE template dialog is opened per day to insert a new template (via menu insert > template)
* //Partial//: Note that the "insert template" menu can also have the effect of opening an existing template. We could work around this by instrumenting the "Add template" dialog. Do we also want to catch templates inserted from inside the main template edit dialog, using the "Add tempalate" button?
* Existing metric: Schema:VisualEditorFeatureUse, {feature: "transclusion", action: "window-open-from-tool"}
[x] Collect number of times it is opened per day to edit an existing template (by clicking a template and then clicking edit button)
* Existing metric: Schema:VisualEditorFeatureUse, {feature: "transclusion", action: "window-open-from-context"}
* Editors may also double-click the template to open this dialog, recorded as {feature: "transclusion", action: "window-open-from-command"}.
[x] Collect number of times the VE template dialog is opened per day, a change is made, and the change is saved successfully vs the workflow being abandoned.
* Existing metric: Schema:VisualEditorFeatureUse, {feature: "transclusion", action: "dialog-done"}
* Existing metric: Schema:VisualEditorFeatureUse, {feature: "transclusion", action: "dialog-abort"}
For interactions in the Template Dialog, track:
[] When an existing parameter is added (and filled) to a template using the VE template dialog
[] When an existing parameter is edited using the VE template dialog
[] When a parameter which was not auto added (optional params) is added to a template
[] When an unnamed parameter is added to a template
[] Clicks on help page/ template page link
For comparison, also collect basic data on the Template Wizard:
[] Collect number of times the TemplateWizard is opened per day, split by edit count into five groups of users (0-10, 11-100, 101-1.000, 1.001-10.000, 10.001+)
[] Collect number of times the TemplateWizard is opened per day, a change is made, and the change is saved successfully.
Other requirements:
[] Add the topic to the inclusion list for sanitization