Jump to content

Schema:OpenTask

PHP logging

EventLogging::logEvent( 'OpenTask', 5041743, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"OpenTask": 5041743
			}
		}
	}
}

JavaScript logging

mw.track( 'event.OpenTask', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 5041743
description"OLD. Used for Community portal and GettingStarted events around 2012-12 before they moved to separate schemas."
properties
token
type"string"
requiredtrue
description"anonymous user token (not yet a built-in field)"
anon
type"boolean"
requiredtrue
description"False if user has logged in."
action
type"string"
requiredtrue
description"Can be 'community-portal-visit', 'complete', or any of the wiki page actions (except view), such as 'edit', 'history', 'delete'"
article
type"string"
description"The title of the task on which the user clicked"
task
type"string"
description"The kind of task Community portal, e.g. 'Fix spelling and grammar'"
articleId
type"integer"
description"Internal ID (wgArticleId) of the article with which the user is tinkering ('edit', 'complete', etc. actions)"
revId
type"integer"
description"Revision ID of the article with which the user is tinkering ('edit', 'complete', etc. actions)"
userId
type"integer"
editCount
type"number"