PHP logging
EventLogging::logEvent( 'MobileAppShareAttempts', 5346170, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileAppShareAttempts": 5346170
}
}
}
}
JavaScript logging
mw.track( 'event.MobileAppShareAttempts', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Logs instances of people trying to share via Mobile app" |
---|
properties | username | type | "string" |
---|
required | true |
---|
description | "Commons Username of person sharing the image" |
---|
|
---|
filename | type | "string" |
---|
description | "Name of the file being shared" |
---|
|
---|
device | type | "string" |
---|
required | true |
---|
description | "The device model the user is sharing from. Examples: 'Galaxy Nexus', 'iPad3,1'" |
---|
|
---|
platform | type | "string" |
---|
required | true |
---|
description | "Platform / version the user is sharing 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'" |
---|
|
---|
|
---|