Manual:$wgAPIListModules

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