Jump to content

Schema:ContentTranslationError

PHP logging

EventLogging::logEvent( 'ContentTranslationError', 11767097, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ContentTranslationError": 11767097
			}
		}
	}
}

JavaScript logging

mw.track( 'event.ContentTranslationError', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 11767097
description"Schema for ContentTranslation extension events. Keeps track of translation errors"
properties
version
type"integer"
requiredtrue
description"Version number. This field can be used to track changes in instrumentation that affect the nature of the data collected."
token
type"string"
description"Username for logged in users or session token for anonymous users"
requiredtrue
session
type"string"
description"Session identifier"
requiredtrue
context
type"string"
description"Error context"
requiredtrue
sourceLanguage
type"string"
description"Source language"
requiredtrue
targetLanguage
type"string"
description"Target language"
requiredtrue
sourceTitle
type"string"
description"Source title"
requiredtrue
targetTitle
type"string"
description"Target title"
requiredfalse
trace
type"string"
description"Error trace"
requiredtrue