Il 20/10/2014 10:35, Antoine Musso ha scritto:
Le 14/10/2014 01:34, Brad Jorsch (Anomie) a écrit :
Legoktm has just merged Gerrit change 160798,[1] Gerrit change 161093,[2] Gerrit change 160819,[3] and a few associated patches. Collectively, these make the following changes to the human-readable aspects of the API output, which will be deployed to WMF wikis with 1.25wmf4 (see https://www.mediawiki.org/wiki/MediaWiki_1.25/Roadmap for the schedule).
- action=help now outputs a nice HTML page instead of a plain-text
document wrapped in XML.
- Hitting api.php with no parameters will display help for the main
module only, with links to each submodule. One of the examples provided shows how to get everything on one page as with the old help.
- The default for the 'format' parameter is now jsonfm rather than xmlfm.
- Syntax highlighting for format=jsonfm and format=xmlfm now uses
Extension:SyntaxHighlight_GeSHi rather than ad-hoc code that only worked right for xmlfm. Other formats are not highlighted.
<snip>
Thank you very much to everyone involved. The API landing pages looks way nicer this way :-)
Such an awesome change made the ApiExplorer https://www.mediawiki.org/wiki/Extension:ApiExplorer extension pretty useless, didn't it?