Schema:TemplateWizard

PHP logging

EventLogging::logEvent( 'TemplateWizard', 20876919, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"TemplateWizard": 20876919
			}
		}
	}
}

JavaScript logging

mw.track( 'event.TemplateWizard', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 20876919
description"Tracking usage of the TemplateWizard extension."
properties
action
type"string"
description"The action that the user took that triggered the log event."
requiredtrue
enum
"launch"
"remove-template"
"use-recent"
"load-template"
"insert-template"
"cancel-dialog"
"save-page"
namespace_id
type"integer"
description"The ID of the page's namespace."
requiredtrue
page_title
type"string"
description"The title (without namespace) of the page on which the action occurred (may not exist)."
requiredtrue
revision_id
type"integer"
description"The page's current revision ID, for pages that already exist when TemplateWizard is used."
requiredfalse
template_names
type"array"
description"For 'remove-template', 'use-recent', 'insert-template', and 'save-page' actions, the titles of the templates that were acted upon."
requiredfalse
items
type"string"
description"Template titles."
user_id
type"integer"
requiredfalse
description"The user id, or 0 if logged out."
user_edit_count
type"integer"
requiredfalse
description"Total number of edits made by this user, or 0 if logged out."
has_template_data
type"boolean"
requiredfalse
description"If template data from the TemplateData extension was found and used for the template loaded or inserted."