From: Alexandre Emsenhuber Date: Thu, 4 Sep 2008 20:38:08 +0000 (+0000) Subject: * Document OutputPageCheckLastModified hook X-Git-Tag: 1.31.0-rc.0~45482 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=7f8a5a823bb8efb6a9b131195af4cbffbb21e815;p=lhc%2Fweb%2Fwiklou.git * Document OutputPageCheckLastModified hook * Added includes/diff/ to the list of paths in maintenance/findhooks.php --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 44941eecf5..cae305341f 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -920,6 +920,9 @@ the resulting HTML is about to be displayed. $parserOutput: the parserOutput (object) that corresponds to the page $text: the text that will be displayed, in HTML (string) +'OutputPageCheckLastModified': when checking if the page has been modified since the last visit +&$modifiedTimes: array of timestamps, the following keys are set: page, user, epoch + 'OutputPageParserOutput': after adding a parserOutput to $wgOut $out: OutputPage instance (object) $parserOutput: parserOutput instance being added in $out diff --git a/maintenance/findhooks.php b/maintenance/findhooks.php index 7a2ba53f66..d7cad253c6 100644 --- a/maintenance/findhooks.php +++ b/maintenance/findhooks.php @@ -31,6 +31,7 @@ $pathinc = array( $IP.'/includes/', $IP.'/includes/api/', $IP.'/includes/db/', + $IP.'/includes/diff/', $IP.'/includes/filerepo/', $IP.'/includes/parser/', $IP.'/includes/specials/',