PHP logging
EventLogging::logEvent( 'MobileAppCategorizationAttempts', 5359208, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileAppCategorizationAttempts": 5359208
}
}
}
}
JavaScript logging
mw.track( 'event.MobileAppCategorizationAttempts', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Log results of people doing post upload categorization" |
---|
properties | username | type | "string" |
---|
required | true |
---|
description | "Commons Username" |
---|
|
---|
source | type | "string" |
---|
required | true |
---|
enum | "camera" |
"gallery" |
"external" |
|
---|
description | "Identifier for the upload funnel. Could be from camera inside the app, gallery inside the app, or from a share request from an external application" |
---|
|
---|
files-count | type | "integer" |
---|
required | true |
---|
description | "Number of files that will have the categories added due to this categorization action" |
---|
|
---|
categories-count | type | "integer" |
---|
required | true |
---|
description | "Number of categories added" |
---|
|
---|
result | type | "string" |
---|
required | true |
---|
description | "If the categorization was queued or cancelled" |
---|
|
---|
device | type | "string" |
---|
required | true |
---|
description | "The device model the user is uploading from. Examples: 'Galaxy Nexus', 'iPad3,1'" |
---|
|
---|
platform | type | "string" |
---|
required | true |
---|
description | "Platform / version the user is uploading from. Example: 'Android/4.2'" |
---|
|
---|
appversion | type | "string" |
---|
required | true |
---|
description | "Version of the app that the user is using. Example: 'Android/1.0', 'iOS/0.5beta1'" |
---|
|
---|
|
---|