Schema:MobileWebWikiGrokResponse

PHP logging

EventLogging::logEvent( 'MobileWebWikiGrokResponse', 11225245, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWebWikiGrokResponse": 11225245
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWebWikiGrokResponse', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 11225245
description"Server-side log of a WikiGrok response, i.e. whether or not a claim about a subject is correct. Client-side interaction events are logged via Schema:MobileWebWikiGrok."
properties
sourceWiki
type"string"
description"Identifier of the local wiki where the response was generated (for example: 'enwiki')"
requiredtrue
pageId
type"integer"
requiredtrue
description"ID of the page where the WikiGrok response was submitted."
userToken
type"string"
requiredtrue
description"A token that represents a unique user persisting across sessions."
userEditCount
type"integer"
requiredfalse
description"The edit count of the user at the time a response was submitted."
taskToken
type"string"
requiredtrue
description"A token that represents the current task. The token is renewed when the page is refreshed or the user visits a new page: a user submitting two WikiGrok responses in subsequent sessions will have distinct taskTokens."
subjectId
type"string"
requiredtrue
description"Wikidata item ID for the subject of the response."
subject
type"string"
requiredtrue
description"Label (in user's content language) for the subject of the response."
propertyId
type"string"
requiredtrue
description"Property identifier for the response."
property
type"string"
requiredtrue
description"Property label (in user's content language) for the response."
valueId
type"string"
requiredtrue
description"Value identifier for the response."
value
type"string"
requiredtrue
description"Value label (in user's content language) for the response."
response
type"boolean"
requiredfalse
description"Stores the response associated with a specific value. Possible values are: -(TRUE, FALSE) for the binary question design (since we're not storing 'not sure' as a response); -(TRUE, NULL) for the tagging design (since a value can only be selected or unselected)."
taskType
type"string"
requiredtrue
description"A string identifying the version/design of the WikiGrok widget."
mobileMode
type"string"
requiredtrue
enum
"stable"
"beta"
"alpha"
description"Whether the user is using the stable, beta, or alpha version of the mobile site."
testing
type"boolean"
requiredfalse
description"Whether the response was submitted as a test."
isLoggedIn
type"boolean"
requiredtrue
description"Whether the user is logged in."