Jump to content

Schema:TaskRecommendationLightbulbClick

PHP logging

EventLogging::logEvent( 'TaskRecommendationLightbulbClick', 9433256, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"TaskRecommendationLightbulbClick": 9433256
			}
		}
	}
}

JavaScript logging

mw.track( 'event.TaskRecommendationLightbulbClick', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 9433256
description"Logs a click on the lightbulb icon by a user. Represents a request for recommendations."
properties
userId
type"integer"
requiredtrue
description"The ID of the user who clicked on the Lightbulb."