Manual:$wgAPIMetaModules

Details
Associative array mapping module name to class name or factory (see $wgAPIModules for exact syntax).

Extension modules may override the core modules.