Jump to content

Schema:ArticleCreationHelp

PHP logging

EventLogging::logEvent( 'ArticleCreationHelp', 5800247, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"ArticleCreationHelp": 5800247
			}
		}
	}
}

JavaScript logging

mw.track( 'event.ArticleCreationHelp', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 5800247
description"Event logging schema for the ArticleCreationHelp extension."
properties
isAnon
type"boolean"
requiredtrue
description"True if the user has not logged in"
token
type"string"
requiredtrue
description"Unique random token per browser stored in the mediaWiki.user.sessionId cookie"
userId
type"integer"
description"User ID"
action
type"string"
requiredtrue
enum
"red-link-hover"
"red-link-click"
"learn-more-click"
description"Interactions with red links and actions offered by guiders on red links"
redLinkTitle
type"string"
requiredtrue
description"Title of the red link the user is interacting with"
pageTitle
type"string"
description"Title of the current page"
pageId
type"integer"
description"ID of the current page"
pageNs
type"integer"
description"Namespace ID of the current page"