Page MenuHomePhabricator

AbuseReview: Instrument views of AbuseReview through echo notifications
Closed, ResolvedPublic

Description

Summary

If a user opens a Special:AbuseReview page as the result of an Notifications (Echo) notification we should store this for the page_load event and any calls to the verdict REST APIs.

Acceptance criteria

  • The referrer field is set to echo_notification for page_load and verdict instrumentation events when the user is viewing Special:AbuseReview from an echo notification

Event Timeline

• Dreamy_Jazz renamed this task from AbuseReview: If user comes to page via echo notification add to instrumentation that this occured to AbuseReview: Instrument views of AbuseReview through echo notifications.Sep 3 2026, 5:28 PM

Change #1335076 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/WikimediaAntiAbuse@master] AbuseReview: Instrument when user opens via echo notification

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

Change #1335117 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/WikimediaAntiAbuse@master] AbuseReview: Add referrer to verdict instrumentation events

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

Change #1335076 merged by jenkins-bot:

[mediawiki/extensions/WikimediaAntiAbuse@master] AbuseReview: Instrument when user opens via echo notification

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

Change #1335117 merged by jenkins-bot:

[mediawiki/extensions/WikimediaAntiAbuse@master] AbuseReview: Add referrer to verdict instrumentation events

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

dom_walden subscribed.

Locally:

...
  "action": "false_positive",
  "action_subtype": "mark",
  "identifier": 53590,
  "identifier_type": "revision",
  "referrer": "echo_notification",
...
...
  "action": "no_further_action",
  "action_subtype": "mark",
  "identifier": 53590,
  "identifier_type": "revision",
  "referrer": "echo_notification",
...

This also works when unmarking.

• Dreamy_Jazz updated the task description. (Show Details)