the TrackingCategories class uses
- $wgTrackingCategories (via Config)
- $wgEnableMagicLinks (via Config)
- the NamespaceInfo service
- Multiple title calls that could be done via a TitleFactory
I suggest that it be converted to a service with these injected (currently created with a Config object, but still retrieves nsinfo and uses Title:: repeatedly)