PHP logging

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

extension.json setup for JavaScript logging

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

JavaScript logging

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

Schema:WikibaseTermboxInteraction

From Meta, a Wikimedia project coordination wiki
Revision 18726648
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 the interaction with the termbox. "hide"/"show" refers to the toggeling of termbox itself. "all" refers to extending it to show all languages. All actions are counted only once per page view!"