userId | type | "integer" |
---|
description | "User ID (note that events from anonymous users are not logged)" |
---|
required | true |
---|
|
---|
pageId | type | "integer" |
---|
description | "The ID of the redirect page if available (e.g., not set if page has not yet been created or for Special pages)" |
---|
|
---|
pageNS | type | "integer" |
---|
description | "Namespace of the page associated with all events. This is available even if pageId is not." |
---|
required | true |
---|
|
---|
currentRevId | type | "integer" |
---|
description | "Current revision of the redirect page if available (e.g., not set if page has not yet been created or for Special pages)" |
---|
|
---|
action | type | "string" |
---|
description | "The current action if specified -- otherwise not set. (e.g. "edit", "submit", "history", etc.)" |
---|
|
---|
isEditable | type | "boolean" |
---|
description | "True if the redirect page the user is invited to edit is editable based on user privileges.
This is based on quickUserCan/wgIsProbablyEditable, so it may provide a false positive in some edge cases (such as cascading protection), but should never provide false negatives." |
---|
required | true |
---|
|
---|
ctaType | type | "string" |
---|
description | "Specifies what type of CTA was shown if any (e.g., not set if a CTA was not shown)
- 'suggested' refers to the version of the CTA that only includes a button for 'Find pages that need easy fixes'
- 'edit current' refers to the version of the CTA that only includes a button for 'Edit this page'
- 'edit current or suggested' refers the CTA that contains both the 'suggested' button and an 'Edit this page' button.
If field is omitted, then no CTA was presented." |
---|
enum | "suggested" |
"edit current" |
"edit current or suggested" |
|
---|
|
---|