PHP logging
EventLogging::logEvent( 'MobileWikiAppiOSEditHistoryCompare', 19795952, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileWikiAppiOSEditHistoryCompare": 19795952
}
}
}
}
JavaScript logging
mw.track( 'event.MobileWikiAppiOSEditHistoryCompare', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Track user actions when using the Edit History Feature." |
---|
properties | action | description | "Which particular action triggered this event." |
---|
enum | "show_history" |
"revision_view" |
"compare1" |
"compare2" |
"thank_try" |
"thank_success" |
"thank_fail" |
|
---|
type | "string" |
---|
required | true |
---|
|
---|
app_install_id | description | "Randomly generated UUID that is unique to each app install, which can be used to cross-reference the same app install across different schemas." |
---|
type | "string" |
---|
required | true |
---|
|
---|
primary_language | description | "User's primary language." |
---|
type | "string" |
---|
required | true |
---|
|
---|
is_anon | description | "True if user has not logged in." |
---|
type | "boolean" |
---|
required | true |
---|
|
---|
event_dt | description | "Client-side ISO-8601-formatted date-time at which this event occurred." |
---|
type | "string" |
---|
required | true |
---|
|
---|
session_id | description | "A unique identifier randomly generated per session." |
---|
type | "string" |
---|
required | true |
---|
|
---|
|
---|