RevisionDeleter::createList creates the objects with new $class( $context, $title, $ids );
It should be possible to inject dependencies too; none of the classes are newable or stable to extend
Dependencies to inject
- RevDelArchiveList (extends RevDelRevisionList) + RevisionStore
- RevDelFileList - RepoGroup, HtmlCacheUpdater
- RevDelList (base, extended by all) - DBLoadBalancerFactory
- RevDelLogList - CommentStore, ActorMigration
- RevDelRevisionList - HookContainer, RevisionStore, DBLoadBalancer (via wfGetDB), HtmlCacheUpdater, MainWANObjectCache