The Android team needs an API for maintaining counts of qualifying edits per user. A WIP prototype is currently implemented as a MediaWiki extension hooking into the PageContentSaveComplete event to update counts as appropriate. The prototype is under internal RI team discussion.
https://github.com/mdholloway/EditCounts
Edit counts to maintain (based on the design doc and subsequent discussion):
1) For the title descriptions task list: **in-app** edits of **title descriptions**
- **To unlock:** 50 qualifying edits + 48h waiting period complete
- Does the waiting period conflict with the goals in the design doc?
- **On revert:** reset the count
- Do we care only about reverts of edits with the same characteristics, or does any reversion incur a penalty?
- What to do about enwiki?
- Cannot edit WD descriptions in-app, but it is technically possible to edit local descriptions via lead section editing
- Maybe add a LocalDescriptionChanged hook?
2) For the image captions task list: **in-app** edits of **title descriptions** AND **image captions**
- **To unlock:** 100 qualifying edits + 48h waiting period complete
- Does the waiting period conflict with the goals in the design doc?
- **On revert:** reset the count
- Do we care only about reverts of edits with the same characteristics, or does any reversion incur a penalty?
- Should a user be able to unlock this with ONLY title description edits?
- I don't think it's currently possible to edit Commons image captions in the app
=== Open questions
- Should these counts be maintained for every app user who makes qualifying edits from the app, or only those who have explicitly opted in somehow?
- Either will probably be OK, but this will affect the projected DB table sizes.
=== Todo
[] **Android team:** please review/update as needed with the specific criteria you want implemented.