PHP logging

EventLogging::logEvent( 'MobileWikiAppOperatorCode', 8983918, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppOperatorCode": 8983918
			}
		}
	}
}

JavaScript logging

mw.eventLog.logEvent( 'MobileWikiAppOperatorCode', { /* ... */ } );

Schema:MobileWikiAppOperatorCode

From Meta, a Wikimedia project coordination wiki
Revision 8983918
Jump to: navigation, search
description"Logs the mobile operator code identifying the source cellular network of the user."
properties
ip
description"Exit IP of cellular access."
type"string"
requiredtrue
mccMncNetwork
description"The Mobile Country Code-Mobile Network Code tuple of the network."
type"string"
requiredtrue
mccMncSim
description"The Mobile Country Code-Mobile Network Code tuple of the SIM."
type"string"
requiredtrue