We can replace much on-wiki documentation of API modules and parameters with a transclusion of generated API code \o/. E.g. [[ https://www.mediawiki.org/w/index.php?title=Extension%3ATextExtracts&diff=1405623&oldid=1395033 | this wiki edit]] in replaced a bunch of text in Extension:TextExtracts with `{{Special:ApiHelp/query+extracts}}`
=== Directions ===
Use the {{[[ https://www.mediawiki.org/wiki/Template:Api_help | Api help| module_name ]] }} templat- If the on-wiki text is better, create a phab task in the API's project (plus #easy and #MediaWiki-API ) to improve its PHP help code.
- If the on-wiki text is betterhas version info, create a phab task in the API's project, and #easy , and #MediaWiki-API to improve its PHP help codedon't replace it until we address T90528.
Otherwise replace the on-wiki text with {{[[ https://www.mediawiki.org/wiki/Template:Api_help | Api help| module_name ]] }}.