Schema:MobileWatchlistInteraction

PHP logging

EventLogging::logEvent( 'MobileWatchlistInteraction', 5678021, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWatchlistInteraction": 5678021
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWatchlistInteraction', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 5678021
description"Logs Watchlist interactions on Wikimedia mobile sites"
properties
action
type"string"
requiredtrue
enum
"switch"
"filter"
"view"
"thanks"
"more"
"diff-prev-or-next"
"user"
"watch"
"unwatch"
description"The actions involved in using the watchlist and diff pages"
userEditCount
type"integer"
description"The edit count of the user using the watchlist."
page
type"string"
description"The page the action came from - Special:MobileDiff or Special:Watchlist"
watchlistview
type"string"
description"The watchlist mode. e.g. a-z / feed"
filter
type"string"
description"The current filter at the time of action"
destination
type"string"
description"Destination of link clicked"
username
type"string"
description"Username for logged in user."
mobileMode
type"string"
requiredtrue
enum
"stable"
"beta"
"alpha"
description"Whether the user is seeing the regular non-beta, beta, or alpha version of the mobile site."