Manual:$wgAPIModules

Details
Associative array mapping module name to class name. Extension modules may override the core modules.