Schema:WatchlistUsage

PHP logging

EventLogging::logEvent( 'WatchlistUsage', 5183860, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"WatchlistUsage": 5183860
			}
		}
	}
}

JavaScript logging

mw.track( 'event.WatchlistUsage', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 5183860
description"Logs the volume of usage of the watchlist, as well as watchlist filtering and editing features, on English Wikipedia"
properties
action
type"string"
requiredtrue
enum
"watchlist-impression"
"watchlist-edit"
"watchlist-raw"
"watchlist-filter-days"
"watchlist-hide"
"watchlist-filter-ns"
"watchlist-filter-ns-check"
description"Actions involved in using the watchlist. Watchlist impression - clicking the watchlist link and viewing the watchlist changes view. Watchlist-edit - clicking the 'View and edit watchlist' link. Watchlist-raw - clicking 'Edit raw watchlist' link. Watchlist-filter-days - clicking any of the options for number of days' worth of changes to show (e.g., last 1 day, last 7 days, all). Watchlist-hide - clicking on any of the 'hide' options (e.g., hide bots, hide minor). Watchlist-filter-ns - selecting a namespace filter from the dropdown menu and clicking go. Watchlist-filter-ns-check - selecting a namespace filter from the dropdown menu and checking either the 'invert selection' or 'associated namespaces' boxes."
editcount
type"integer"
description"User edit count."
isEmpty
type"boolean"
description"Whether user's watchlist is empty (user is not watching any pages)."