Content-Length: 47157 | pFad | https://meta.wikimedia.org/wiki/Schema:Echo

Schema:Echo - Meta Jump to content

Schema:Echo

PHP logging

EventLogging::logEvent( 'Echo', 7731316, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"Echo": 7731316
			}
		}
	}
}

JavaScript logging

mw.track( 'event.Echo', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 7731316
description"Logs events related to the generation of notifications via the Echo extension"
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"
eventId
type"integer"
requiredtrue
description"Unique identifier of the event triggering the current notification"
notificationType
type"string"
requiredtrue
description"Type of notification, the actual content of each message is documented in the page referenced in the iteration field"
notificationGroup
type"string"
requiredtrue
enum
"positive"
"interactive"
"neutral"
"negative"
"system"
"other"
description"Notification group."
sender
type"string"
requiredtrue
description"Identifies the agent performing the action that triggers the notification, it can be any of the following: (1) an anonymous user (IP address), (2) a registered user (user ID), (3) MediaWiki (-1)"
recipientUserId
type"integer"
requiredtrue
description"Recipient user ID"
recipientEditCount
type"integer"
description"Recipient lifetime edit count"
eventSource
type"string"
description"Identifies the context in which the notification was triggered. This is mostly useful for notifications that can be generated from different UI elements or via API requests."
deliveryMethod
type"string"
requiredtrue
enum
"web"
"email"
description"Describes the method used for delivering the notification to the recipient. 'web' is for on-site delivery, the notification is logged regardless of whether the user has disabled web notifications/badges. 'email' only logs email notifications for users with authenticated email addresses and no preference set explicitly disabling email."
revisionId
type"integer"
description"Revision ID of the edit that the event is for"








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://meta.wikimedia.org/wiki/Schema:Echo

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy