Manual:$wgAPIModules

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