Page MenuHomePhabricator

Android/iOS Wikipedia apps: Instrument impressions of edit block notices
Open, MediumPublic

Description

Summary

Similar to how we track block notices (see BlockUtils::logBlockedEditAttempt() which writes to mediawiki.editattempt_block), we should record an impression of the block notice that appears when you try to make an edit on the iOS or Android Wikipedia apps, but are IP blocked or your user account is blocked.

We could probably log these events to the mediawiki.editattempt_block schema, and similar to how that instrumentation is set up, we should include details about the block, performer, IP reputation data, etc (see BlockUtils::logBlockedEditAttempt())

Acceptance criteria

  • Block notices in the Android and iOS Wikipedia apps are instrumented

Event Timeline

Noting here: This is part of editing - as Kosta specified we should send this data to mediawiki.editattempt_block, will create separate subtasks for Android and iOS. (Does not fall into our Account Authorization logging tasks).

See https://phabricator.wikimedia.org/T310390 for original instrumentation

  • Log an event whenever a user (logged in or out) clicks/taps an affordance to open an editing interface [1] and they are prevented from progressing because the account/IP address they are using to access Wikipedia has been blocked.[2]

Event details:
Columns in mediawiki.editattempt_block: Spreadsheet

SNowick_WMF renamed this task from Android/iOS Wikipedia apps: Instrument impressions of block notices to Android/iOS Wikipedia apps: Instrument impressions of edit block notices.Thu, Mar 5, 9:46 PM