Translations:API:Extensions/3/en

All API modules are subclasses of $ApiBase, but some types of modules use a derived base class. The method of registration also depends on the module type.
 * action modules : Modules that provide a value for the main  parameter should subclass $ApiBase. They should be registered in   using the   key.
 * format modules : Modules that provide a value for the main $format parameter should subclass $class-fb. They should be registered in $ext-json using the $afm key. It's very uncommon for an extension to need to add a format module.
 * query submodules : Modules that provide a value for the $prop, $list, or $meta parameters to $action should subclass $class-qb (if not usable as a generator) or $class-qgb (if usable as a generator). They should be registered in $ext-json2 using the $apm, $alm, or $amm key.