Page MenuHomePhabricator

incorrect edit count on contributions for urdu wikipedia
Open, Needs TriagePublic1 Estimated Story Points

Description

Steps to reproduce

  • tap burger menu - contributions

Expected results

  • correct count

Actual results

  1. incorrect edit count is shown (4 instead of 5)
  2. video: https://commons.wikimedia.org/wiki/File:Editcounterror.webm

Stack trace

(Optional logcat output)

Environments observed

App version: *r/50563-r-2025-12-11*
Android OS versions:
Device model:
Device language:**

Event Timeline

I analyzed UserContribListViewModel: The edit count and the actual contributions are retrieved using two different API endpoints.
loadStats queries using userInfoWithMessages and posts UserContribStats using editCount from UserInfo.
There is no logic in the app which modifies the editCount.
The actual contributions come from the method load in the inner class UserContribPagingSource.
Using the number of actual contributions would be incorrect since paging and filtering is applied.
IMHO, this (temporary?) incorrect display of edit count is probably a performance limitation in the backend which cannot be overcome by adaptation of the app's logic.

Furthermore, I would like to reference from another ticket:
According to the Q&A section in this page edit stats are updated once a day.