Jump to content

Schema:NewEditorEdit

PHP logging

EventLogging::logEvent( 'NewEditorEdit', 8850417, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"NewEditorEdit": 8850417
			}
		}
	}
}

JavaScript logging

mw.track( 'event.NewEditorEdit', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 8850417
description"Logs edit events on NS_MAIN for newer editors (less than 30 days onboard)"
properties
userId
type"integer"
requiredtrue
description"The user's user ID."
userAge
type"integer"
requiredtrue
description"Number of seconds that have elapsed since the user registered."
editCount
type"integer"
requiredtrue
description"The editor's total edit count across all namespaces."
pageId
type"integer"
requiredtrue
description"ID of the page the user is attempting to edit."
revId
type"integer"
requiredtrue
description"Revision ID of the edit."
isAPI
type"boolean"
description"True if edit was made via the API; false otherwise."
isMobile
type"boolean"
description"True if the edit was made via the mobile site; false otherwise."