PHP logging

EventLogging::logEvent( 'EditConflict', 19778941, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"EditConflict": 19778941
			}
		}
	}
}

JavaScript logging

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

Schema:EditConflict

From Meta, a Wikimedia project coordination wiki
Revision 19778941
Jump to navigation Jump to search
description"Logs an edit conflict"
properties
userId
type"integer"
description"User ID of the user affected by conflict (0 for anons)"
requiredtrue
userText
type"string"
description"Username or IP address of the user affected by conflict"
requiredtrue
pageId
type"integer"
description"The page ID of the page being moved"
requiredtrue
namespace
type"integer"
description"The namespace of the page"
requiredtrue
title
type"string"
description"The title of the page, in DB form with no namespace prefix"
requiredtrue
revId
type"integer"
description"The ID of the page's latest saved, conflicting revision"
requiredtrue