Jump to content

Schema:TranslationRecommendationUserAction

PHP logging

EventLogging::logEvent( 'TranslationRecommendationUserAction', 21139971, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"TranslationRecommendationUserAction": 21139971
			}
		}
	}
}

JavaScript logging

mw.track( 'event.TranslationRecommendationUserAction', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 21139971
description"Logs when users take an action on articles that have been recommended"
properties
requestToken
description"Identifier to associate action with an api request"
type"string"
requiredtrue
pageTitle
description"Title of the page the user is acting on"
type"string"
requiredtrue
action
description"Action taken"
type"string"
requiredtrue
enum
"flag_not_interested"
"flag_not_notable"
"create_from_scratch"
"create_using_content_translation"
targetTitle
description"Title of the page in the target language"
type"string"
requiredfalse