PHP logging

EventLogging::logEvent( 'WikibaseTermboxInteraction', 22018255, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"WikibaseTermboxInteraction": 22018255
			}
		}
	}
}

JavaScript logging

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

Schema:WikibaseTermboxInteraction

From Meta, a Wikimedia project coordination wiki
Revision 22018255
Jump to navigation Jump to search
description"Tracks interactions with the Wikibase termbox"
properties
actionType
type"string"
requiredtrue
enum
"hide"
"show"
"all"
description"Type of interaction with the termbox. "hide"/"show" refers to toggling of termbox itself. "all" refers to extending it to show all languages. All actions are counted only once per page view!"