Jump to content

Schema:MobileWikiAppImageRecommendations

PHP logging

EventLogging::logEvent( 'MobileWikiAppImageRecommendations', 21233672, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppImageRecommendations": 21233672
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppImageRecommendations', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 21233672
description"Receive user responses from the Image Recommendations algorithm training feature."
properties
lang
description"List of languages that the user has configured in the app."
type"string"
requiredtrue
page_title
description"Title of the article that was suggested."
type"string"
requiredtrue
image_title
description"File name of the image that was suggested for the article."
type"string"
requiredtrue
suggestion_source
description"Source from which this suggestion is being made, e.g. whether the image appears in another language wiki, inside a wikidata item, etc."
type"string"
requiredtrue
response
description"The response that the user gave for this suggestion: 0 = yes, 1 = no, 2 = not sure"
type"integer"
requiredtrue
reason
description"List of reasons for the user's response (array of numbers corresponding to checkbox selections)."
type"string"
requiredtrue
details_clicked
description"Whether the user tapped for more information on the image."
type"boolean"
requiredtrue
info_clicked
description"Whether the user tapped on the 'i' icon in the toolbar."
type"boolean"
requiredtrue
scrolled
description"Whether the user scrolled the contents of the article that are shown underneath the image suggestion."
type"boolean"
requiredtrue
time_until_click
description"Amount of time, in milliseconds, that the user spent before tapping on the Yes/No/Not sure buttons."
type"integer"
requiredtrue
time_until_submit
description"Amount of time, in milliseconds, that the user spent before submitting the entire response, including specifying the reasons for selecting No or Not sure."
type"integer"
requiredtrue
user_name
description"The wiki username of this user. May be null if the user did not agree to share."
type"string"
requiredtrue
teacher_mode
description"Whether this feature is being used by a superuser / omniscient entity."
type"boolean"
requiredtrue
app_install_id
description"Randomly generated UUID that is unique to each app install, which can be used to cross-reference the same app install across different schemas."
type"string"
requiredtrue
client_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue