Schema:MobileWikiAppWiktionaryPopup

PHP logging

EventLogging::logEvent( 'MobileWikiAppWiktionaryPopup', 18118768, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppWiktionaryPopup": 18118768
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppWiktionaryPopup', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 18118768
description"Measure user engagement with the Wiktionary definition popup dialog."
properties
text
description"The text for which the definition was requested."
type"string"
requiredtrue
time_spent
description"Amount of time, in seconds, that the definition dialog remained on the screen."
type"integer"
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
client_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue