Jump to content

Schema:EchoMail

PHP logging

EventLogging::logEvent( 'EchoMail', 21773498, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"EchoMail": 21773498
			}
		}
	}
}

JavaScript logging

mw.track( 'event.EchoMail', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 21773498
description"Logs notifications mailed to registered users with valid email addresses. Schema:Echo logs notifications staged for email delivery, while this schema logs messages actually delivered."
properties
version
type"string"
requiredtrue
description"References the full specifications of the current version of Echo (adding new notification types or changing the schema requires a version change), example: 1.1"
recipientUserId
type"integer"
requiredtrue
description"Recipient user ID"
emailDeliveryMode
type"string"
requiredtrue
enum
"single"
"bundle"
"daily_digest"
"weekly_digest"
description"Email delivery mode, determined by the notification settings and by user preferences"