Jump to content

Schema:MobileWikiAppIntents

PHP logging

EventLogging::logEvent( 'MobileWikiAppIntents', 18115555, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppIntents": 18115555
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppIntents', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 18115555
description"Receive events when the app is launched by way of various nonstandard intents (intents other than MAIN and VIEW)."
properties
action
description"Which particular action triggered this event: - share: the user tapped 'Share' in another app, and picked Wikipedia from the list of apps to share text with. - processtext: the user picked 'Search Wikipedia' from the context menu when highlighting text in another app (Marshmallow and above) - searchwidget: the user tapped on the search widget and it launched the app - featuredarticlewidget: the user tapped on the featured article widget and it launched the app"
enum
"share"
"processtext"
"searchwidgettap"
"featuredarticlewidgettap"
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
client_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue