In T130439: Add an AbuseFilter variable for global edit count of the user, CentralAuth started tracking a users global edit count.
Emitting this data in events will be useful for metrics.
From @Passimacopoulos
our team more and more frequently needs to determine a user's total historical revision count at certain points (i.e. to identify if a user was a 'beginner' before attending a community editing event, and having their latest global count alongside their central_user_id would be very useful for that!)
We already emit user_central_id via CentralAuth. CentralAuth makes it easy to fetch this value.
We can use the getCountIfInitialized method to ensure we don't cause an expensive recache of global edit count in cases where it isn't set.
(Actual name of field TBD.)
Done is
- global edit count added to mediawiki.user_change events
- global edit count added to mediawiki.page_change events