*Document old ArticleViewHeader hook
authorAaron Schulz <aaron@users.mediawiki.org>
Sun, 3 Jun 2007 22:34:53 +0000 (22:34 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sun, 3 Jun 2007 22:34:53 +0000 (22:34 +0000)
docs/hooks.txt

index 0dc1540..cb39e2f 100644 (file)
@@ -303,6 +303,10 @@ $title: Title corresponding to the article restored
 $create: Whether or not the restoration caused the page to be created
 (i.e. it didn't exist before)
 
+'ArticleViewHeader': Before the parser cache is about to be tried for article viewing.
+&$pcache: whether to try the parser cache or not
+&$outputDone: whether the output for this page finished or not
+
 'AuthPluginSetup': update or replace authentication plugin object ($wgAuth)
 Gives a chance for an extension to set it programattically to a variable class.
 &$auth: the $wgAuth object, probably a stub