PHP logging
EventLogging::logEvent( 'PageSaveTiming', 5557427, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"PageSaveTiming": 5557427
}
}
}
}
JavaScript logging
mw.track( 'event.PageSaveTiming', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Logs the time difference between a user's most recent attempt to save a page and the loading of the successfully edited page, client-side" |
---|
properties | version | type | "integer" |
---|
required | true |
---|
description | "Version number. This field can be used to track changes in instrumentation that affect the nature of the data collected." |
---|
|
---|
editor | type | "string" |
---|
enum | "visualeditor" |
"wikitext" |
|
---|
description | "The Interface through which the user is attempting to edit the page." |
---|
|
---|
pageId | type | "integer" |
---|
description | "ID of the page the user is attempting to edit, if available." |
---|
|
---|
pageNs | type | "integer" |
---|
description | "Namespace ID of the page the user is attempting to edit." |
---|
|
---|
revId | type | "integer" |
---|
description | "Revision of the page the user successfully saved." |
---|
|
---|
timeDiff | type | "integer" |
---|
description | "Time difference (expressed in milliseconds) between the most recent click on the [Save] button and the loading of a successfully stored revision." |
---|
|
---|
|
---|