PHP logging
EventLogging::logEvent( 'HttpsSupport', 11518527, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"HttpsSupport": 11518527
}
}
}
}
JavaScript logging
mw.track( 'event.HttpsSupport', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Represents the result of a client-side HTTPS connectivity test." |
---|
properties | httpStatus | type | "string" |
---|
required | true |
---|
enum | "success" |
"load" |
"error" |
"abort" |
"timeout" |
|
---|
description | "Status of HTTP request. 'success' means success; all others mean failure." |
---|
|
---|
httpTiming | type | "integer" |
---|
required | true |
---|
description | "Time it took HTTP request to complete or time out." |
---|
|
---|
httpsStatus | type | "string" |
---|
required | true |
---|
enum | "success" |
"load" |
"error" |
"abort" |
"timeout" |
|
---|
description | "Status of HTTPS request. 'success' means success; all others mean failure." |
---|
|
---|
httpsTiming | type | "integer" |
---|
required | true |
---|
description | "Time it took HTTPS request to complete or time out." |
---|
|
---|
isAnon | type | "boolean" |
---|
description | "True if the user was anonymous; false if logged in." |
---|
required | true |
---|
|
---|
mobileMode | type | "string" |
---|
enum | |
---|
description | "If in mobile view, specifies the mobile mode. Absent otherwise." |
---|
|
---|
originCountry | type | "string" |
---|
description | "Country in which request originated, based on GeoIP look-up." |
---|
|
---|
originCity | type | "string" |
---|
description | "City in which request originated, based on GeoIP look-up." |
---|
|
---|
userAgent | type | "string" |
---|
description | "Browser's user-agent string" |
---|
required | true |
---|
|
---|
|
---|