PHP logging
EventLogging::logEvent( 'TwoColConflictExit', 21143808, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"TwoColConflictExit": 21143808
}
}
}
}
JavaScript logging
mw.track( 'event.TwoColConflictExit', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Tracks statistics when exiting the Extension:TwoColConflict conflict page." |
---|
properties | action | type | "string" |
---|
required | true |
---|
description | "Action causing the workflow to end, or 'unknown'. Possible events are 'save' if the save button has been pressed, and 'cancel' for the cancel link." |
---|
|
---|
start_time_ts_ms | type | "integer" |
---|
required | true |
---|
description | "Timestamp when the editor was first launched. (unix epoch in milliseconds)" |
---|
|
---|
page_namespace | type | "integer" |
---|
required | true |
---|
description | "Indicates the namespace ID the conflict occurred in." |
---|
|
---|
page_title | type | "string" |
---|
required | true |
---|
description | "Article title, without the namespace." |
---|
|
---|
base_rev_id | type | "integer" |
---|
required | true |
---|
description | "Indicates the parent revision this user was editing." |
---|
|
---|
latest_rev_id | type | "integer" |
---|
required | true |
---|
description | "Indicates the latest (and conflicting) revision of the article discovered by the conflict processor." |
---|
|
---|
selections | type | "string" |
---|
description | "Structure holding the column selections, and whether each cell has been edited from the conflict workflow." |
---|
|
---|
session_token | type | "string" |
---|
description | "mw.user.sessionId() for joining with other events" |
---|
|
---|
|
---|