API module manager and help rewrite
authorYuri Astrakhan <yuriastrakhan@gmail.com>
Tue, 5 Feb 2013 06:52:55 +0000 (01:52 -0500)
committerYuri Astrakhan <yuriastrakhan@gmail.com>
Tue, 5 Feb 2013 06:52:55 +0000 (01:52 -0500)
commita97bb3acfa7e61d79b7c689b2e31ca8a1da432a7
tree0a3872e9d5781ee1f4c520094ddd3eb96060165d
parent549311b20552d137e683a8e837be586f9bfd496f
API module manager and help rewrite

This is a non-versioned part of the larger patch #41014
https://gerrit.wikimedia.org/r/#/c/41014
It will allow help subsystem optimization (merging paraminfo and help),
path towards per-module or per-system versioning, removal of the
manually maintained generator lists.

Changes:
* ApiModuleManager now handles all submodules (actions,props,lists) and instantiation
* ApiModuleManager maintains a cache of all instantiated modules
* Query stores prop/list/meta as submodules
* action=help suports generalized submodules (modules=query+value), querymodules obsolete

Change-Id: Ie2dee41e44a29cd5d5935eeaa5240b708d95a8f0
RELEASE-NOTES-1.21
includes/AutoLoader.php
includes/api/ApiBase.php
includes/api/ApiHelp.php
includes/api/ApiMain.php
includes/api/ApiModuleManager.php [new file with mode: 0644]
includes/api/ApiParamInfo.php
includes/api/ApiQuery.php