Jump to content

Schema:GettingStarted

PHP logging

EventLogging::logEvent( 'GettingStarted', 5285779, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"GettingStarted": 5285779
			}
		}
	}
}

JavaScript logging

mw.track( 'event.GettingStarted', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 5285779
description"Logs events related to tasks assigned to new registered users via the GettingStarted extension"
properties
experimentId
type"string"
requiredtrue
description"Identifies the experimental design of a test (for example ob3-split-retest)."
bucketId
type"string"
enum
"ob3a"
"ob3b"
description"Identifies the experimental bucket a user is assigned to. ob3-split-retesta: control group with guiders disabled; ob3-split-retestb: test group with guiders enabled. The user is only bucketted on the gettingstarted-impression event"
action
type"string"
requiredtrue
enum
"gettingstarted-impression"
"gettingstarted-click"
"page-impression"
"page-edit-impression"
"page-save-attempt"
"page-save-success"
description"The actions involved in accepting a task and completing the corresponding edit funnel. Gettingstarted-impression & -click occur on the GettingStarted page, the rest occur on interactions with the page in the task list; page-edit-impression also logs if user does [View source] because the page is protected"
funnel
type"string"
enum
"gettingstarted"
"returnto"
description"Identifier for the edit funnel"
targetTitle
type"string"
description"Title of the target page the user clicks through as part of a task assignment or the returnTo button. Only available for action=gettingstarted-click events"
pageId
type"integer"
description"ID of the target article the user is invited to edit, if available"
revId
type"integer"
description"Current revision of the target article the user is invited to edit, if available. Is updated to the latest revision for action=page-save-success events"
pageNs
type"integer"
description"Namespace ID of the article the user is invited to edit"
userId
type"integer"
description"User ID"
requiredtrue
isNew
type"boolean"
description"True if and only if user is seeing GettingStarted (action=gettingstarted-impression) immediately after successful account creation"
isEditable
type"boolean"
description"True if the target article the user is invited to edit is editable based on user privileges"