PHP logging

EventLogging::logEvent( 'SaveTiming', 15396492, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"SaveTiming": 15396492
			}
		}
	}
}

JavaScript logging

mw.track( 'event.SaveTiming', { /* ... */ } );

Schema:SaveTiming

From Meta, a Wikimedia project coordination wiki
Revision 15396492
Jump to navigation Jump to search
description"Represents timing measurements for edit processing"
properties
saveTiming
description"milliseconds elapsed between edit submission and response start"
type"integer"
requiredtrue
mediaWikiVersion
description"MediaWiki version string (same as `wgVersion`)"
type"string"