New hooks ApiMain::moduleManager and ApiQuery::moduleManager
authorMax Semenik <maxsem.wiki@gmail.com>
Thu, 12 Feb 2015 01:38:18 +0000 (17:38 -0800)
committerMax Semenik <maxsem.wiki@gmail.com>
Mon, 23 Feb 2015 18:38:40 +0000 (10:38 -0800)
commitb16eb8a42ea629e4ab44ead99992a1dbbdc4b59f
treea0f1677fd12e53dfaf9ca3527a27cdf74b608f51
parent439e55d1ea6b2dea9e73eb377308f69457ae21c5
New hooks ApiMain::moduleManager and ApiQuery::moduleManager

Needed to conditionally register API modules. The previous way, messing with globals
from extension functions, is getting problematic because Config class will make this
impossible.

Change-Id: I86b40aeec555dd6b3cd82cab31d96e85fdf0a665
RELEASE-NOTES-1.25
docs/hooks.txt
includes/api/ApiMain.php
includes/api/ApiQuery.php