PHP logging

EventLogging::logEvent( 'PageContentSaveComplete', 12587727, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"PageContentSaveComplete": 12587727
			}
		}
	}
}

JavaScript logging

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

Schema:PageContentSaveComplete

From Meta, a Wikimedia project coordination wiki
Revision 12587727
Jump to navigation Jump to search
description"Represents a completed edit"
properties
revisionId
type"integer"
requiredtrue
description"ID of new revision"
isAPI
type"boolean"
requiredtrue
description"True if the edit was made via the API"
isMobile
type"boolean"
requiredtrue
description"True if the edit was made via the mobile site"
editCount
type"integer"
requiredtrue
description"The current edit count of the users. (Should match user.user_editcount after the edit is saved)"