Jump to content

Schema:MobileWikiAppiOSEditHistoryCompare

PHP logging

EventLogging::logEvent( 'MobileWikiAppiOSEditHistoryCompare', 19795952, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppiOSEditHistoryCompare": 19795952
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppiOSEditHistoryCompare', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 19795952
description"Track user actions when using the Edit History Feature."
properties
action
description"Which particular action triggered this event."
enum
"show_history"
"revision_view"
"compare1"
"compare2"
"thank_try"
"thank_success"
"thank_fail"
type"string"
requiredtrue
app_install_id
description"Randomly generated UUID that is unique to each app install, which can be used to cross-reference the same app install across different schemas."
type"string"
requiredtrue
primary_language
description"User's primary language."
type"string"
requiredtrue
is_anon
description"True if user has not logged in."
type"boolean"
requiredtrue
event_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue
session_id
description"A unique identifier randomly generated per session."
type"string"
requiredtrue