Manual:$wgJobClasses

Details
Maps jobs to their handling classes.

Extensions can add to this to provide custom jobs.

Since MediaWiki 1.30, it may now specify callback functions as an alternative to plain class names. This is intended for extensions that want control over the instantiation of their jobs, to allow for proper dependency injection.