Jump to content

Schema:MobileAppCategorizationAttempts

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
Revision 5359208
description"Log results of people doing post upload categorization"
properties
username
type"string"
requiredtrue
description"Commons Username"
source
type"string"
requiredtrue
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"
requiredtrue
description"Number of files that will have the categories added due to this categorization action"
categories-count
type"integer"
requiredtrue
description"Number of categories added"
result
type"string"
requiredtrue
description"If the categorization was queued or cancelled"
device
type"string"
requiredtrue
description"The device model the user is uploading from. Examples: 'Galaxy Nexus', 'iPad3,1'"
platform
type"string"
requiredtrue
description"Platform / version the user is uploading from. Example: 'Android/4.2'"
appversion
type"string"
requiredtrue
description"Version of the app that the user is using. Example: 'Android/1.0', 'iOS/0.5beta1'"