Jump to content

Schema:VisualEditorDOMPreviewed

PHP logging

EventLogging::logEvent( 'VisualEditorDOMPreviewed', 6118189, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"VisualEditorDOMPreviewed": 6118189
			}
		}
	}
}

JavaScript logging

mw.track( 'event.VisualEditorDOMPreviewed', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 6118189
description"Represents timing data for VisualEditor DOM preview"
properties
duration
type"number"
description"Time it took XHR to complete, in 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"