X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fhooks.txt;h=b38bd666e4d20d70d42f35c58a779b60c9ac853f;hb=3f1142045f;hp=d932148e4d0a49f3fb78bf7aa1ba3fabd1c5516f;hpb=72886445ff1ecfc812b9335f5682fcb0434b0292;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index d932148e4d..b38bd666e4 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -467,6 +467,12 @@ can alter or append to the array. (url), 'width', 'height', 'alt', 'align'. - url: Url for the given title. +'ApiParseMakeOutputPage': Called when preparing the OutputPage object for +ApiParse. This is mainly intended for calling OutputPage::addContentOverride() +or OutputPage::addContentOverrideCallback(). +$module: ApiBase (which is also a ContextSource) +$output: OutputPage + 'ApiQuery::moduleManager': Called when ApiQuery has finished initializing its module manager. Can be used to conditionally register API query modules. $moduleManager: ApiModuleManager Module manager instance