Page MenuHomePhabricator

Instrumentation: dialog for no suggestions available
Closed, ResolvedPublic

Description

Associated feature: T277508: Add a link: dialog for no suggestions available

If a user arrives on an article for which no suggestions are available, they will get an error dialog. We should record an event for that dialog, so that we can tell how often this state occurs.

Event Timeline

kostajh renamed this task from Instru to Instrumentation: dialog for no suggestions available.Mar 22 2021, 12:19 PM
kostajh created this task.
kostajh updated the task description. (Show Details)
kostajh updated the task description. (Show Details)
kostajh triaged this task as Medium priority.Apr 14 2021, 12:54 PM

Change 684127 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@master] AddLink: LinkSuggestionInteraction logger and instrumentation

https://gerrit.wikimedia.org/r/684127

Change 690070 had a related patch set uploaded (by Gergő Tisza; author: Kosta Harlan):

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.5] AddLink: LinkSuggestionInteraction logger and instrumentation

https://gerrit.wikimedia.org/r/690070

Change 684127 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] AddLink: LinkSuggestionInteraction logger and instrumentation

https://gerrit.wikimedia.org/r/684127

Change 690070 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@wmf/1.37.0-wmf.5] AddLink: LinkSuggestionInteraction logger and instrumentation

https://gerrit.wikimedia.org/r/690070

Mentioned in SAL (#wikimedia-operations) [2021-05-13T12:40:40Z] <tgr@deploy1002> Synchronized php-1.37.0-wmf.5/extensions/GrowthExperiments: Backport: instrumentation patches ([[gerrit:690070|]] [[gerrit:690071|]] [[gerrit:690072|]] [[gerrit:690073|]]) (T278116 T278117 T278114 T278177 T278487 T278112 T278111 T278118) (duration: 01m 09s)

Tested on testwiki wmf.9.
In addition to the Console error ( e.g. "Link suggestion not found for "CHIRP (algorithm)"), the event of "Suggestions are no longer available on this article" the following event will be recorded:

{action: "impression", action_data: "", is_mobile: false, active_interface: "nosuggestions_dialog", newcomer_task_token: "38195d6887ebe12c3ac5", …}
$schema: "/analytics/mediawiki/structured_task/article/link_suggestion_interaction/1.0.0"
action: "impression"
action_data: ""
active_interface: "nosuggestions_dialog"
dt: "2021-06-18T22:53:02.880Z"
homepage_pageview_token: "qcqjfcmkt9e2g0a1ic1v1snbiqsj8vg0"
is_mobile: false
meta: {stream: "mediawiki.structured_task.article.link_suggestion_interaction", domain: "test.wikipedia.org"}
newcomer_task_token: "38195d6887ebe12c3ac5"
page_id: 114575
page_title: "CHIRP (algorithm)"