Page MenuHomePhabricator

CU 2.0: Use a factory to create the pager
Closed, ResolvedPublic

Description

The pager needs access to the service as well as the context (from the special page). To simplify the dependency graph, it might be best to create a factory service for the pager.

Event Timeline

Restricted Application added a subscriber: Aklapper. ยท View Herald TranscriptDec 3 2019, 2:37 PM

Change 554299 had a related patch set uploaded (by Dbarratt; owner: Dbarratt):
[mediawiki/extensions/CheckUser@master] Create a factory for the PreliminaryCheckPager

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

@dom_walden Not sure to what extent this needs testing - it doesn't change the pagers, just how they're created. I checked the pagers are both still there and not doing anything odd.

Change 554299 merged by jenkins-bot:
[mediawiki/extensions/CheckUser@master] Create a factory for Special:Investigate pagers

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

@dom_walden Not sure to what extent this needs testing - it doesn't change the pagers, just how they're created. I checked the pagers are both still there and not doing anything odd.

OK, thats fine. Thanks!