Following up on T335125: Account creation attempt on mobile Wikipedia domain leads user to desktop Special:CentralLogin/complete, often in logged-out state and also T334411: Positive Reinforcement: investigate difference in mobile activation, it would be nice to have a panel on our KPIs dashboard plotting the rate of new editor activations, with the following splits:
- wiki ID
- desktop/mobile
- experiment variant
This should be fairly straightforward; in HomepageHooks::onPageSaveComplete, check if $user->getEditCount() is 0 and that the edit is in NS_MAIN, then increment the counter for GrowthExperiments.EditorActivation.{wiki}.{desktop/mobile}.{experiment variant}.