Jump to content

Schema:MobileWikiAppWatchlist

PHP logging

EventLogging::logEvent( 'MobileWikiAppWatchlist', 20936401, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppWatchlist": 20936401
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppWatchlist', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 20936401
description"Measure user interactions with Watchlist features."
properties
action
requiredtrue
description"Which action in the watchlist this is representing."
type"string"
enum
"show_tooltip_more"
"show_tooltip"
"add_article"
"add_expiry"
"add_success"
"view_watchlist"
"open_watchlist"
"remove_article"
"remove_success"
"change_language"
languages
description"JSON array of languages, in order. For example: if user's language settings are 1. German and 2. English, then this is ["de","en"]"
type"string"
requiredfalse
session_token
description"A randomly generated identifier for linking to language search summaries."
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