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
description | "Logs clicks on the Special:Recentchanges page" |
---|
properties | linkType | type | "string" |
---|
description | "Type of link the user clicked" |
---|
required | true |
---|
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" |
---|
required | true |
---|
|
---|
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" |
---|
required | true |
---|
enum | "Recentchanges" |
"page" |
"diff" |
"history" |
|
---|
|
---|
fromQuery | type | "string" |
---|
description | "Query string of the page the click was on" |
---|
|
---|
|
---|