PHP logging

EventLogging::logEvent( 'UploadWizardTutorialActions', 5803466, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"UploadWizardTutorialActions": 5803466
			}
		}
	}
}

JavaScript logging

mw.track( 'event.UploadWizardTutorialActions', { /* ... */ } );

Schema:UploadWizardTutorialActions

From Meta, a Wikimedia project coordination wiki
Revision 5803466
Jump to navigation Jump to search
description"Record actions of users in the tutorial 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"
action
type"string"
requiredtrue
enum
"load"
"helpdesk-click"
"skip-check"
"skip-uncheck"
"continue"
description"Action performed by the user. load is fired when the tutorial image loads. helpdesk-click is fired when the helpdesk link in the tutorial is clicked skip-check is fired when the skip tutorial box is ticked skip-uncheck is fired when the skip tutorial box is unticked continue is fired when the continue button is pressed"