Provenance

From Wikitech
Jump to navigation Jump to search

In order to evaluate the effectiveness of social sharing and other similar efforts for Wikimedia projects, a parameter "wprov" can be appended to URLs on a case-by-case basis. This page exists to keep track of reserved values.

The value of this parameter will be recorded in the X-Analytics field of the webrequest table (as x_analytics_map['wprov']). Requests with different "wprov" values will not be cached separately (as it would be the case with other, arbitrary parameter names), thus avoiding cache fragmentation.

Description of wprov parameter

The format of the parameter name is ?wprov=<3_char_feature><platform_one_char><major_version_of_feature_uint>.

See the Analytics mailing list thread and Phabricator task T90606 for further background.

Currently reserved values

sfii1: Share a Fact on iOS for image cards, feature version 1

sfti1: Share a Fact on iOS for text shares, feature version 1

sfsi1: Standard sharing on iOS for text shares, feature version 1

sfia1: Share a Fact on Android for image cards, feature version 1

sfta1: Share a Fact on Android for text shares, feature version 1

sfla1: Share a link to an article (from lead image toolbar, or link preview), feature version 1

tssw1: TestSearchSatisfaction schema for Special:Search in WikimediaEvents, feature version 1

srpw1: Search Result Page web, feature version 1. Attached to result links in Special:Search.

sdlw1: Search Deep Link web, feature version 1. Users selected by the TestSearchSatisfaction schema have this added to all article links when arriving at a page with either the srpw1 or sdlw1 wprov.

iwsw1: Interwiki Search web, feature version 1. Queries that have been chosen to participate in the interwiki search test will have wprov=iwsw1 for any cross wiki search results. This is limited to "inline" search results, and not the sidebar as used in itwiki.

acww1 Used to track mw:Extension:ArticleCreationWorkflow

nrvf1: New Readers video in Hindi distribution on Facebook

nrvy1: New Readers video in Hindi distribution on YouTube

nrvt1: New Readers video in Hindi distribution on Twitter

nrvi1: New Readers video in Hindi distribution on Instagram

yicw1: Links from YouTube videos about certain topics like global warming (introduced in 2018)

nrvf2: New Readers video in Spanish distribution on Facebook

nrvy2: New Readers video in Spanish distribution on Foundation YouTube

nrvy2i: New Readers video in Spanish distribution on Influencer YouTube

nrvt2: New Readers video in Spanish distribution on Twitter

nrvi2: New Readers video in Spanish distribution on Instagram

mfsw1: Share beta feature in MobileFrontend

See also