Jump to content

Schema:SavePageAttempts

PHP logging

EventLogging::logEvent( 'SavePageAttempts', 5020521, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"SavePageAttempts": 5020521
			}
		}
	}
}

JavaScript logging

mw.track( 'event.SavePageAttempts', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 5020521
description"Represents a record of an attempt to save a page"
properties
namespace
type"integer"
requiredtrue
description"Namespace of the page an edit was attempted on"
userId
type"integer"
requiredtrue
description"User ID"
editSuccess
type"boolean"
requiredtrue
description"Did the save page attempt fail?"
failReason
type"string"
requiredfalse
description"Reason that the edit failed"