PHP logging

EventLogging::logEvent( 'MobileWikiAppProtectedEditAttempt', 18118725, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppProtectedEditAttempt": 18118725
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppProtectedEditAttempt', { /* ... */ } );

Schema:MobileWikiAppProtectedEditAttempt

From Meta, a Wikimedia project coordination wiki
Revision 18118725
Jump to navigation Jump to search
description"Track users when they attempt to edit a page, but can not because of protection."
properties
protectionStatus
requiredtrue
description"Protection status of the page the user tried to edit."
type"string"
app_install_id
description"Randomly generated UUID that is unique to each app install, which can be used to cross-reference the same app install across different schemas."
type"string"
requiredtrue
client_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue