Jump to content

Schema:CXActivity

PHP logging

EventLogging::logEvent( 'CXActivity', 10939741, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"CXActivity": 10939741
			}
		}
	}
}

JavaScript logging

mw.track( 'event.CXActivity', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 10939741
description"Logs ContentTranslation activity: when a translation is started, is saved in the userspace or fully published."
properties
userId
type"integer"
description"User ID of the user performing the move (zero for anons)"
requiredtrue
userText
type"string"
description"Username or IP address of the user performing the move"
requiredtrue
sourceLanguage
type"string"
description"Language code of the source language."
requiredtrue
targetLanguage
type"string"
description"Language code of the target language."
requiredtrue
action
type"string"
description"Action related to translation: it was started or published in the userspace or main namespace"
enum
"start-translation"
"publish-userspace"
"publish-main-namespace"
requiredtrue