PHP logging

EventLogging::logEvent( 'ChangesListFilterGrouping', 17008168, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ChangesListFilterGrouping": 17008168
			}
		}
	}
}

JavaScript logging

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

Schema:ChangesListFilterGrouping

From Meta, a Wikimedia project coordination wiki
Revision 17008168
Jump to navigation Jump to search
description"Usage of the filters in changes lists (recent changes, watchlist, etc)"
properties
action
type"string"
description"Action taken by the user"
enum
"filtermenu"
"savedfilters"
"removefilter"
groupIdentifier
type"string"
description"Identifier for the group the filter was used with"
filter
type"string"
description"The name of the used filter"
userId
type"integer"
description"User ID"