Jump to content

Schema:ChangesListClickTracking

PHP logging

EventLogging::logEvent( 'ChangesListClickTracking', 16484895, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ChangesListClickTracking": 16484895
			}
		}
	}
}

JavaScript logging

mw.track( 'event.ChangesListClickTracking', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 16484895
description"Logs clicks on the Special:Recentchanges page"
properties
linkType
type"string"
description"Type of link the user clicked"
requiredtrue
enum
"unknown"
"diff"
"history"
"page"
"user"
"talk"
"contribs"
"block"
"rollback"
"edit"
"undo"
"thank"
"patrol"
enhancedFiltersEnabled
type"boolean"
description"Whether the user has the RCFilters beta feature enabled"
requiredtrue
userId
type"integer"
description"User ID"
sessionId
type"string"
description"Session ID from mw.user.sessionId()"
fromPage
type"string"
description"What type of page the click was on"
requiredtrue
enum
"Recentchanges"
"page"
"diff"
"history"
fromQuery
type"string"
description"Query string of the page the click was on"