From 179a096210fcc3b5bfeee9ef709cc53347c44777 Mon Sep 17 00:00:00 2001 From: florianschmidtwelzow Date: Sun, 25 May 2014 08:23:02 +0200 Subject: [PATCH] Removed double hook explanation AfterFinalPageOutput Bug: 65690 Change-Id: I0990568875db854579974f611e7378bca0b0eaed --- docs/hooks.txt | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) 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; ). -- 2.20.1