PHP logging

EventLogging::logEvent( 'MobileWikiAppRLSRegistration', 18103818, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppRLSRegistration": 18103818
			}
		}
	}
}

JavaScript logging

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

Schema:MobileWikiAppRLSRegistration

From Meta, a Wikimedia project coordination wiki
Revision 18103818
Jump to navigation Jump to search
description"For simple statistics on basic Reading List Syncing feature usage."
properties
user_id
description"User ID of the logged-in user so we can link multiple app installs together, must be consistent across Android and iOS"
type"string"
requiredtrue
app_install_id
description"App install ID that's unique to each app install"
type"string"
requiredtrue
client_dt
description"Client-side ISO-8601-formatted datetime at which this event occurred"
type"string"
requiredtrue