From: florianschmidtwelzow Date: Sun, 25 May 2014 06:23:02 +0000 (+0200) Subject: Removed double hook explanation AfterFinalPageOutput X-Git-Tag: 1.31.0-rc.0~15591^2 X-Git-Url: http://git.cyclocoop.org///%22%40url%40//%22?a=commitdiff_plain;h=179a096210fcc3b5bfeee9ef709cc53347c44777;p=lhc%2Fweb%2Fwiklou.git Removed double hook explanation AfterFinalPageOutput Bug: 65690 Change-Id: I0990568875db854579974f611e7378bca0b0eaed --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 0c03375539..163e75a883 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -313,11 +313,11 @@ $apiModule: the ApiCreateAccount module calling $loginForm: the LoginForm used &$result: associative array for API result data -'AfterFinalPageOutput': At the end of OutputPage::output() but before final -ob_end_flush() which will send the buffered output to the client. This allows -for last-minute modification of the output within the buffer by using -ob_get_clean(). -&$output: OutputPage object +'AfterFinalPageOutput': Nearly at the end of OutputPage::output() but +before OutputPage::sendCacheControl() and final ob_end_flush() which +will send the buffered output to the client. This allows for last-minute +modification of the output within the buffer by using ob_get_clean(). +$output: The OutputPage object where output() was called 'AfterImportPage': When a page import is completed. $title: Title under which the revisions were imported @@ -326,12 +326,6 @@ $revCount: Number of revisions in the XML file $sRevCount: Number of successfully imported revisions $pageInfo: associative array of page information -'AfterFinalPageOutput': Nearly at the end of OutputPage::output() but -before OutputPage::sendCacheControl() and final ob_end_flush() which -will send the buffered output to the client. This allows for last-minute -modification of the output within the buffer by using ob_get_clean(). -$output: The OutputPage object where output() was called - 'AjaxAddScript': Called in output page just before the initialisation of the javascript ajax engine. The hook is only called when ajax is enabled ( $wgUseAjax = true; ).