title: analytics/legacy/templatewizard description: Tracking usage of the TemplateWizard extension. $id: /analytics/legacy/templatewizard/1.2.0 $schema: 'https://json-schema.org/draft-07/schema#' type: object allOf: - $ref: '/fragment/analytics/legacy/eventcapsule/1.2.0#' - required: - event properties: event: type: object required: - action - namespace_id - page_title - revision_id - template_names properties: action: description: The action that the user took that triggered the log event. type: string enum: - launch - remove-template - use-recent - insert-template - cancel-dialog - save-page - load-template namespace_id: description: The ID of the page's namespace. type: integer page_title: description: >- The title (without namespace) of the page on which the action occurred (may not exist). type: string revision_id: description: >- The page's current revision ID, for pages that already exist when TemplateWizard is used. type: integer template_names: description: >- For 'remove-template', 'use-recent', 'insert-template', and 'save-page' actions, the titles of the templates that were acted upon. type: array items: description: Template titles. type: string performer: description: >- Represents the user that performed this change. This is optional and will not be present for anonymous users. type: object properties: user_edit_count: description: >- The number of edits this user has made at the time of this event. Not present for anonymous users or since version 1.2.0 where it got deprecated and replaced with edit count buckets. type: integer minimum: 0 user_edit_count_bucket: description: >- Reduced granularity edit count, safe to keep in the sanitized stream. This is optional, and will not be present for anonymous users. type: string enum: - under11 - over10 - over100 - over1k - over10k - 0 edits - 1-4 edits - 5-99 edits - 100-999 edits - 1000+ edits user_id: description: The user id that performed this change. type: integer session_token: description: The user's session token. type: string examples: - event: action: launch namespace_id: 0 page_title: test_page_title revision_id: 1234 template_names: - test_template performer: user_edit_count_bucket: 100-999 edits user_id: 12 session_token: 338abe4c324c68675fb2 schema: TemplateWizard $schema: $ref: '#/$id' meta: dt: '2020-04-02T19:11:20.942Z' stream: eventlogging_TemplateWizard dt: '2020-04-02T19:11:20.942Z' client_dt: '2020-04-02T19:11:20.942Z'