PHP logging
EventLogging::logEvent( 'MobileWebDiff', 10703082, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileWebDiff": 10703082
}
}
}
}
JavaScript logging
mw.track( 'event.MobileWebDiff', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Logs certain clicks on Wikimedia mobile sites" |
---|
properties | userEditCount | type | "integer" |
---|
required | false |
---|
description | "The edit count of the user using the watchlist." |
---|
|
---|
name | type | "string" |
---|
description | "Uniquely describes the thing that was clicked." |
---|
enum | "diff-view" |
"diff-user" |
"diff-thank" |
|
---|
|
---|
destination | type | "string" |
---|
description | "URL that the link points to. If undefined it was not a link." |
---|
|
---|
username | type | "string" |
---|
required | false |
---|
description | "Username for logged in user." |
---|
|
---|
mobileMode | type | "string" |
---|
required | true |
---|
enum | |
---|
description | "Whether the user is seeing the regular non-beta, beta, or alpha version of the mobile site." |
---|
|
---|
|
---|