Manual:$wgAPIPropModules

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

Extension modules may override the core modules.