Manual:$wgAPIFormatModules

Details
Allows for adding additional modules for the "format" API parameter. Associative array mapping module name to class name. Extension modules may override the core modules.