PHP logging
EventLogging::logEvent( 'MobileWikiAppiOSUserHistory', 22479505, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"MobileWikiAppiOSUserHistory": 22479505
}
}
}
}
JavaScript logging
mw.track( 'event.MobileWikiAppiOSUserHistory', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Wikipedia iOS app users' state history." |
---|
properties | measure_readinglist_listcount | required | false |
---|
description | "How many reading list a user has" |
---|
type | "integer" |
---|
|
---|
measure_readinglist_itemcount | required | false |
---|
description | "How many articles a user saved" |
---|
type | "integer" |
---|
|
---|
readinglist_sync | required | false |
---|
description | "Whether a user turn on the reading list sync" |
---|
type | "boolean" |
---|
|
---|
readinglist_showdefault | required | false |
---|
description | "Whether a user show the default list in the reading lists view" |
---|
type | "boolean" |
---|
|
---|
measure_font_size | required | false |
---|
description | "Choice of font size" |
---|
type | "integer" |
---|
|
---|
theme | required | false |
---|
description | "Choice of theme" |
---|
type | "string" |
---|
enum | "default" |
"sepia" |
"dark" |
"black" |
|
---|
|
---|
feed_disabled | required | false |
---|
description | "Whether the feed is disabled completely" |
---|
type | "boolean" |
---|
|
---|
trend_notify | required | false |
---|
description | "Whether the user turn on the push notification for trending and top read articles" |
---|
type | "boolean" |
---|
|
---|
search_tab | required | false |
---|
description | "Whether the app opens to the search tab" |
---|
type | "boolean" |
---|
|
---|
feed_enabled_list | required | false |
---|
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" |
---|
required | false |
---|
properties | on | description | "Enabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
off | description | "Disabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
|
---|
|
---|
tr | description | "Top read" |
---|
type | "object" |
---|
required | false |
---|
properties | on | description | "Enabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
off | description | "Disabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
|
---|
|
---|
od | description | "On this day" |
---|
type | "object" |
---|
required | false |
---|
properties | on | description | "Enabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
off | description | "Disabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
|
---|
|
---|
ns | description | "In the news" |
---|
type | "object" |
---|
required | false |
---|
properties | on | description | "Enabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
off | description | "Disabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
|
---|
|
---|
pl | description | "Places" |
---|
type | "object" |
---|
required | false |
---|
properties | on | description | "Enabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
off | description | "Disabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
|
---|
|
---|
rd | description | "Randomizer" |
---|
type | "object" |
---|
required | false |
---|
properties | on | description | "Enabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
off | description | "Disabled languages among all user selected languages." |
---|
type | "array" |
---|
required | false |
---|
items | type | "string" |
---|
description | "Language code" |
---|
required | false |
---|
|
---|
|
---|
|
---|
|
---|
rp | description | "Related pages (aka. because you read). Not language specific." |
---|
type | "boolean" |
---|
required | false |
---|
|
---|
cr | description | "Continue reading. Not language specific." |
---|
type | "boolean" |
---|
required | false |
---|
|
---|
pd | description | "Picture of the day. Not language specific." |
---|
type | "boolean" |
---|
required | false |
---|
|
---|
|
---|
|
---|
inbox_count | required | false |
---|
description | "How many notifcations in user inbox." |
---|
type | "integer" |
---|
|
---|
device_level_enabled | required | false |
---|
description | "User has device level notifcations enabled." |
---|
type | "string" |
---|
|
---|
primary_language | required | false |
---|
description | "Choice of primary language" |
---|
type | "string" |
---|
|
---|
test_group | required | false |
---|
description | "AB test group designation" |
---|
type | "string" |
---|
|
---|
is_anon | required | false |
---|
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" |
---|
required | true |
---|
|
---|
event_dt | description | "Client-side ISO-8601-formatted date-time at which this event occurred." |
---|
type | "string" |
---|
required | true |
---|
|
---|
session_id | description | "A unique identifier randomly generated per session." |
---|
type | "string" |
---|
required | true |
---|
|
---|
|
---|