Schema:TimEventLoggingDemo

PHP logging

EventLogging::logEvent( 'TimEventLoggingDemo', 16164149, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"TimEventLoggingDemo": 16164149
			}
		}
	}
}

JavaScript logging

mw.track( 'event.TimEventLoggingDemo', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 16164149
description"Test of EventLogging schemas"
properties
greeting
description"A greeting message"
requiredtrue
type"string"
favoriteNumber
description"Lazy loaded images designation."
type"integer"