Jump to content

Schema:PersonalBar

PHP logging

EventLogging::logEvent( 'PersonalBar', 7829128, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"PersonalBar": 7829128
			}
		}
	}
}

JavaScript logging

mw.track( 'event.PersonalBar', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 7829128
description"Logs user interaction with the personal bar."
properties
action
type"string"
requiredtrue
enum
"link-click"
description"Type of user interaction logged (only one possible action for now)"
link
type"string"
requiredtrue
enum
"user-page"
"talk"
"preferences"
"beta"
"language"
"watchlist"
"contributions"
"notifications"
"privacy"
"help"
"logout"
description"Identifies the link clicked by the user"
version
type"string"
requiredtrue
enum
"default"
"compact-flyout"
"compact-bar"
description"Version of the personal bar displayed to the user"
userId
type"integer"
requiredtrue
description"user ID, logged to count unique events by user"