Jump to content

Schema:VisualEditorSaveError

PHP logging

EventLogging::logEvent( 'VisualEditorSaveError', 6424943, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"VisualEditorSaveError": 6424943
			}
		}
	}
}

JavaScript logging

mw.track( 'event.VisualEditorSaveError', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 6424943
description"Represents timing data for VisualEditor – time from user clicking save to save error"
properties
duration
type"number"
description"Time it took XHR to complete, in milliseconds."
retries
type"number"
description"Number of badtoken retries, if any."
type
type"string"
description"Reason for save error - one of 'abusefilter' (save was blocked by AbuseFilter), 'badtoken' (token was bad, and we prompted the user for action), 'captcha' (save was blocked by CAPTCHA), 'editconflict' (save was blocked by an edit conflict, 'empty' (empty response from server), 'spamblacklist' (save was blocked by SpamBlacklist), 'unknown' (save was blocked for some other reason)."
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"