Page MenuHomePhabricator

Duplicates in /docs/hooks.txt
Closed, ResolvedPublic

Description

https://git.wikimedia.org/blob/mediawiki%2Fcore.git/HEAD/docs%2Fhooks.txt#L316

'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

'AfterImportPage': When a page import is completed.
$title: Title under which the revisions were imported
$origTitle: Title provided by the XML file
$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


Version: 1.24rc
Severity: trivial

Details

Reference
bz65690

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:18 AM
bzimport set Reference to bz65690.
bzimport added a subscriber: Unknown Object (MLST).
Scnd created this task.May 23 2014, 6:23 PM

Change 135295 had a related patch set uploaded by Florianschmidtwelzow:
Removed double hook explanation AfterFinalPageOutput

https://gerrit.wikimedia.org/r/135295

Change 135295 merged by jenkins-bot:
Removed double hook explanation AfterFinalPageOutput

https://gerrit.wikimedia.org/r/135295

Fixed by Florian, thanks!

np ;)short task :)