PHP logging

EventLogging::logEvent( 'ChangesListHighlights', 19499852, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ChangesListHighlights": 19499852
			}
		}
	}
}

JavaScript logging

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

Schema:ChangesListHighlights

From Meta, a Wikimedia project coordination wiki
Revision 19499852
Jump to navigation Jump to search
description"Usage of the highlight feature in changes lists (recent changes, watchlist, etc)"
properties
action
type"string"
description"Action taken by the user"
enum
"set"
"clear"
"clearAll"
filters
type"array"
description"Details of the filters affected by the action"
items
type"object"
properties
name
type"string"
description"Name of the filter affected by the action"
color
type"string"
description"Color selected, when applicable"
requiredfalse
userId
type"integer"
description"User ID"