Jump to content

Schema:Test

PHP logging

EventLogging::logEvent( 'Test', 15047841, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"Test": 15047841
			}
		}
	}
}

JavaScript logging

mw.track( 'event.Test', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 15047841
description"Test schema for checking that EventLogging works"
properties
OtherMessage
type"string"
description"Free-form text"
requiredtrue