action | type | "string" |
---|
required | true |
---|
enum | "begin" | "failure" | "reload" | "submit" | "success" |
|
---|
description | "The edit lifecycle event being recorded:
begin: Sending an edit page impression and assigning a new edit session token
failure: changes could not be stored
reload: the edit page is being rendered, but this is not the first edit impression of the session
submit: the editor has attempted to save their changes
success: new changes were accepted" |
---|
|
---|
editSessionId | type | "string" |
---|
description | "A token unique to the current edit session; used for grouping events." |
---|
|
---|
isAPI | type | "boolean" |
---|
required | true |
---|
description | "True if the request came through an API call." |
---|
|
---|
isMobile | type | "boolean" |
---|
required | true |
---|
description | "True if the request came from a mobile context." |
---|
|
---|
newRevId | type | "integer" |
---|
description | "Newly saved revision of the page, on success." |
---|
|
---|
pageId | type | "integer" |
---|
description | "ID of the page the user is attempting to edit, if available." |
---|
|
---|
pageNs | type | "integer" |
---|
description | "Namespace ID of the page the user is attempting to edit." |
---|
|
---|
pageName | type | "string" |
---|
required | true |
---|
description | "Full title of the page the user is attempting to edit, including namespace (wgPageName format). This is needed to log edit activity on redlinks where pageId and revId are not available." |
---|
|
---|
revId | type | "integer" |
---|
description | "Current revision of the page the user is currently attempting to edit." |
---|
|
---|