Page MenuHomePhabricator

Investigate missing edit events in iOS editing data in EditAttemptStep schema and ios_edit_interaction schema
Open, Needs TriagePublic

Description

Looking at unique editor and edit counts comparing Editattemptstep and `Mediawiki_history for the last 2 months we are seeing a an average difference MOM of 15.6% (Mediawiki_history counts are higher) for unique editors and 2.0% difference in edit counts. Data

We see an even bigger deficit in counts of editors/edit data being sent to ios_edit_interaction

Shay will look at possible edit events or user data that we are not sending to Editattemptstep and ios_edit_interaction with revision_id, article name and edit type information to provide engineers with context.

Event Timeline

Investigating edits that are present in mediawiki_history that aren't in editattempstep and seeing some patterns. As discussed with @Tsevener we will address these issues first and then re-investigate since matching was hindered by missing data. This is not a high priority task and can be saved for later when engineers have time to work on.

Edits in mediawiki_history not matched in Editattempstep data were highest for edits made on wikidatawiki and edit type app-description-add and
app-description-change so we will start there to look at potentially missing event data sent.

Also to be resolved:
Note: Matching was done by article/page_title values since 6575 edits from Editattemptstep did not have value in revision_id data.
Also note - known issue that iOS edits in Editattemptstep do not have value for wiki https://phabricator.wikimedia.org/T388081

Bringing this back for discussion since we are planning to use iOS editattempstep data to get Activity Tab New Account Edits:

I did a comparison for edit counts between mediawiki_history and editattempstep for 2025-09 and the deficit was on editattempstep by 728 missing edits

editattempstep 2025-09mediawiki_history 2025-09
4617046928

So it looks like we may have fixed some of the issues, however we are still missing revision_id values for ~10% of edits and 100% of wiki values for saveSuccess events in editattempstep.

I do not need the missing revision_id and`wiki` values to be resolved to do the Activity Tab analysis but we do still need to try to figure out where we are not sending saveSuccess edit events to`editattempstep`.

Note this Bug Report is for a Curiosity question so not required fix for Activity Tab release.

The priority for fixes if we can get to them goes in this order:

  • Engineers look for edit events in code that may not be sending data to editattemptstep

then

  • missing revision_id values for ~10% of edits
  • missing wiki values for 100% of saveSuccess events