PHP logging
EventLogging::logEvent( 'VisualEditorDOMSaved', 6074826, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"VisualEditorDOMSaved": 6074826
}
}
}
}
JavaScript logging
mw.track( 'event.VisualEditorDOMSaved', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Represents timing data for VisualEditor DOM save" |
---|
properties | bytes | type | "integer" |
---|
description | "Size in bytes of retrieved DOM" |
---|
|
---|
duration | type | "number" |
---|
description | "Time it took XHR to complete, in milliseconds." |
---|
|
---|
parsoidDuration | type | "number" |
---|
description | "Time it took for Parsoid to handle the request, in milliseconds" |
---|
|
---|
parsoidStart | type | "number" |
---|
description | "The time at which Parsoid started handling the request, in epoch milliseconds" |
---|
|
---|
pageId | description | "`page_id` of requested page. Unset for special pages." |
---|
type | "integer" |
---|
|
---|
revId | description | "Revision ID of requested page. Unset for special pages." |
---|
type | "integer" |
---|
|
---|
|
---|