Manual:$wgAPIFormatModules

Details
Allows for adding additional modules for the "format" API parameter.

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

Extension modules may override the core modules.