* Document OutputPageCheckLastModified hook
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 4 Sep 2008 20:38:08 +0000 (20:38 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 4 Sep 2008 20:38:08 +0000 (20:38 +0000)
* Added includes/diff/ to the list of paths in maintenance/findhooks.php

docs/hooks.txt
maintenance/findhooks.php

index 44941ee..cae3053 100644 (file)
@@ -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
index 7a2ba53..d7cad25 100644 (file)
@@ -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/',