Jump to content

Schema:UploadWizardUploadActions

PHP logging

EventLogging::logEvent( 'UploadWizardUploadActions', 5811620, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"UploadWizardUploadActions": 5811620
			}
		}
	}
}

JavaScript logging

mw.track( 'event.UploadWizardUploadActions', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 5811620
description"Record actions of users on the upload page of UploadWizard"
properties
username
type"string"
requiredtrue
description"Username of the user performing the action"
language
type"string"
requiredtrue
description"Interface language code of the user doing the actions"
filetype
type"string"
requiredfalse
description"Type of the file being acted upon (only for delete, failure, and uploaded, no others)."
error
type"string"
requiredfalse
description"Detailed error message, only for 'failure' actions."
numuploads
type"number"
requiredfalse
description"Number of files chosen in a choose or upload action."
action
type"string"
requiredtrue
enum
"load"
"choose"
"delete"
"uploaded"
"failure"
"retry"
"continue"
description"Action performed by the user. load is fired when the upload step loads. choose is fired when a file or a set of files is chosen by the user. delete is fired when a user deletes a file in the interface. uploaded is fired when an upload succeeds. failure is called when an upload fails to complete. retry is fired when the user retries failed uploads. continue is fired when the continue button is pressed."