Jump to content

Schema:UploadWizardErrorFlowEvent

PHP logging

EventLogging::logEvent( 'UploadWizardErrorFlowEvent', 18973100, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"UploadWizardErrorFlowEvent": 18973100
			}
		}
	}
}

JavaScript logging

mw.track( 'event.UploadWizardErrorFlowEvent', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 18973100
description"Log of an API or validation error 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)."
step
type"string"
requiredtrue
enum
"file"
"deeds"
"details"
"license"
"metadata"
description"Name of the UploadWizard step in which the error happened. 'license' errors happened in the license selector menu, which can be displayed in the deeds or the details step, depending on what the user choose"
code
type"string"
description"Error code /type."
message
type"string"
description"Error description."