PHP logging

EventLogging::logEvent( 'MobileWikiAppiOSUserHistory', 19074748, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MobileWikiAppiOSUserHistory": 19074748
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MobileWikiAppiOSUserHistory', { /* ... */ } );

Schema:MobileWikiAppiOSUserHistory

From Meta, a Wikimedia project coordination wiki
Revision 19074748
Jump to navigation Jump to search
description"Wikipedia iOS app users' state history."
properties
measure_readinglist_listcount
requiredfalse
description"How many reading list a user has"
type"integer"
measure_readinglist_itemcount
requiredfalse
description"How many articles a user saved"
type"integer"
readinglist_sync
requiredfalse
description"Whether a user turn on the reading list sync"
type"boolean"
readinglist_showdefault
requiredfalse
description"Whether a user show the default list in the reading lists view"
type"boolean"
measure_font_size
requiredfalse
description"Choice of font size"
type"integer"
theme
requiredfalse
description"Choice of theme"
type"string"
enum
"default"
"sepia"
"dark"
"black"
feed_disabled
requiredfalse
description"Whether the feed is disabled completely"
type"boolean"
trend_notify
requiredfalse
description"Whether the user turn on the push notification for trending and top read articles"
type"boolean"
search_tab
requiredfalse
description"Whether the app opens to the search tab"
type"boolean"
feed_enabled_list
requiredfalse
description"List of objects showing the enabled and disabled languages for each type of feed card."
type"object"
properties
fa
description"Featured article"
type"object"
requiredfalse
properties
on
description"Enabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
off
description"Disabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
tr
description"Top read"
type"object"
requiredfalse
properties
on
description"Enabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
off
description"Disabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
od
description"On this day"
type"object"
requiredfalse
properties
on
description"Enabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
off
description"Disabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
ns
description"In the news"
type"object"
requiredfalse
properties
on
description"Enabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
off
description"Disabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
pl
description"Places"
type"object"
requiredfalse
properties
on
description"Enabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
off
description"Disabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
rd
description"Randomizer"
type"object"
requiredfalse
properties
on
description"Enabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
off
description"Disabled languages among all user selected languages."
type"array"
requiredfalse
items
type"string"
description"Language code"
requiredfalse
rp
description"Related pages (aka. because you read). Not language specific."
type"boolean"
requiredfalse
cr
description"Continue reading. Not language specific."
type"boolean"
requiredfalse
pd
description"Picture of the day. Not language specific."
type"boolean"
requiredfalse
primary_language
requiredfalse
description"Choice of primary language"
type"string"
is_anon
requiredfalse
description"Whether a user is logged in"
type"boolean"
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
event_dt
description"Client-side ISO-8601-formatted date-time at which this event occurred."
type"string"
requiredtrue
session_id
description"A unique identifier randomly generated per session."
type"string"
requiredtrue