Jump to content

Schema:HttpsSupport

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
Revision 11518527
description"Represents the result of a client-side HTTPS connectivity test."
properties
httpStatus
type"string"
requiredtrue
enum
"success"
"load"
"error"
"abort"
"timeout"
description"Status of HTTP request. 'success' means success; all others mean failure."
httpTiming
type"integer"
requiredtrue
description"Time it took HTTP request to complete or time out."
httpsStatus
type"string"
requiredtrue
enum
"success"
"load"
"error"
"abort"
"timeout"
description"Status of HTTPS request. 'success' means success; all others mean failure."
httpsTiming
type"integer"
requiredtrue
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."
requiredtrue
mobileMode
type"string"
enum
"alpha"
"beta"
"stable"
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"
requiredtrue