PHP logging

EventLogging::logEvent( 'TrackedPageContentSaveComplete', 8535426, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"TrackedPageContentSaveComplete": 8535426
			}
		}
	}
}

JavaScript logging

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

Schema:TrackedPageContentSaveComplete

From Meta, a Wikimedia project coordination wiki
Revision 8535426
Jump to navigation Jump to search
description"Represents a completed edit and allows tracking a user's browser between logins and as IPs. This is logged for all conditions (pre/post/control), even if there is not yet a token."
properties
revId
type"integer"
requiredtrue
description"ID of new revision"
token
type"string"
description"A randomly generated token intended to identify the user between actions."