Bucketing users into edit-count buckets is a strategy used by QuickSurveys, Popups
https://github.com/search?q=org%3Awikimedia+100-999&type=Code
We would also like to use it in Minerva in MobileWebMainMenuClickTracking
EventLogging is always involved.
Acceptance Criteria
To support this
- We should add the get getEditCountBucket method to WikimediaEvents OR core OR EventLogging
- Update QuickSurveys to use the new method
- Do not change the buckets. Changing the user buckets (or adding to them is out of scope for this task). As soon as this is defined in one place, we can consider that if needed in a follow up.
Notes
- We will not update Popups to use the new method because we are going to remove the code in T267211.
- Minerva's MobileWebMainMenuClickTracking was moved to WikimediaEvents (modules/ext.wikimediaEvents/mobileWebUIActions.js )