Jump to content

Schema:UploadWizardUploadFlowEvent

PHP logging

EventLogging::logEvent( 'UploadWizardUploadFlowEvent', 11772717, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"UploadWizardUploadFlowEvent": 11772717
			}
		}
	}
}

JavaScript logging

mw.track( 'event.UploadWizardUploadFlowEvent', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 11772717
description"Log of something related to a file upload happening in UploadWizard, for funnel analysis."
properties
flowId
type"string"
requiredtrue
description"Identifies a flow of events (all events which happened in the same upload session, an upload session being someone clicking aroung in UploadWizard but not reloading the page). It is comprised of a timestamp and a random number."
flowPosition
type"integer"
requiredtrue
description"Position within an event flow (first event is 1 etc)."
event
type"string"
requiredtrue
enum
"upload-started"
"upload-succeeded"
"upload-failed"
"upload-removed"
"uploads-added"
description"Event name."
extension
type"string"
description"Extension of the file."
quantity
type"integer"
description"Number of files added in uploads-added event."
size
type"integer"
description"Size of the file in bytes. Rounded for privacy reasons."
duration
type"integer"
description"Upload duration, in seconds"
error
type"string"
description"Upload error (e. g. an API error identifier)"