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
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)" |
---|
required | true |
---|
|
---|
userText | type | "string" |
---|
description | "Username or IP address of the user performing the move" |
---|
required | true |
---|
|
---|
sourceLanguage | type | "string" |
---|
description | "Language code of the source language." |
---|
required | true |
---|
|
---|
targetLanguage | type | "string" |
---|
description | "Language code of the target language." |
---|
required | true |
---|
|
---|
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" |
|
---|
required | true |
---|
|
---|
|
---|