On 14.05.2012, 7:04 Kevin wrote:
While considering adding syntax highlighting to the format=jsonfm output of the API, I noticed the hackishness of the current API help page system[1] and started working on a replacement that generates a "[...] a fully-HTML version of the help message"[2] while remaining fully compatible with existing extensions.
I propose moving API help to a new special page Special:ApiHelp, which would run a few preg_replace operations and then the parser on individual portions of the documentation to format them as HTML. The combined output for all modules would be cached in memcached as in the old ApiHelp class.
https://en.wikipedia.org/wiki/Special:ApiSandbox