Page MenuHomePhabricator

Move information about user edits to a new service
Open, Needs TriagePublic

Description

User::getEditCount
User::getFirstEditTimestamp
User::getLatestEditTimestamp
User::getEditTimestamp
User::initEditCountInternal

should be moved to a new service, perhaps UserEditTracker:

  • Inject a LoadBalancer
  • Inject an ActorMigration

This avoids needing to retrieve the services via MediaWikiServices and is another step towards splitting the User "god object"

Event Timeline

Restricted Application added a project: User-DannyS712. · View Herald TranscriptSat, May 23, 12:32 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyS712 updated the task description. (Show Details)Sat, May 23, 12:37 AM
DannyS712 moved this task from Unsorted to Next on the User-DannyS712 board.
DannyS712 updated the task description. (Show Details)Tue, May 26, 1:40 AM

Change 598566 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/core@master] Add a new UserEditTracker service for user edit counts and timing

https://gerrit.wikimedia.org/r/598566