PHP logging

EventLogging::logEvent( 'MobileOptionsTracking', 16934032, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileOptionsTracking": 16934032
			}
		}
	}
}

JavaScript logging

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

Schema:MobileOptionsTracking

From Meta, a Wikimedia project coordination wiki
Revision 16934032
Jump to navigation Jump to search
description"Logs saves of Special:MobileOptions on Wikimedia mobile sites"
properties
action
type"string"
requiredtrue
enum
"success"
"error"
description"Whether the form submission resulted in a success."
errorText
type"string"
description"Error message received by user (if applicable)."
beta
type"string"
requiredtrue
enum
"off"
"nochange"
"on"