API: Add a "submodule" param type
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 14 Aug 2014 20:12:58 +0000 (16:12 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Tue, 19 Aug 2014 15:25:07 +0000 (11:25 -0400)
commitafa153ae9dec44ee4670daa2883a846a6fc013c0
tree188ba141f029a78fe3ad113c572af6a17e17bc71
parentb769c3bbec5b6d0ec46998289eb66f84de2fc5db
API: Add a "submodule" param type

This allows action=paraminfo to indicate when a parameter is specifying
a submodule (so clients can detect what the submodule names are). This
will also allow the future action=help HTMLization to easily auto-link
to submodule docs, and will allow ApiSandbox to handle submodules more
generically.

For BC, rather than directly specifying "type": "submodule", it lists
the names of all the submodules as the type and adds an additional
"submodules" indicator on the param info object.

Change-Id: Id31babdc81d970ac781ec11daa3cdafef18ecd5d
RELEASE-NOTES-1.24
includes/api/ApiBase.php
includes/api/ApiMain.php
includes/api/ApiParamInfo.php
includes/api/ApiQuery.php