Manual:Hooks/ArticleViewHeader

Details

 * $article: the article (object)
 * $outputDone: If there is no more output to output, set $outputDone to true.
 * $pcache: If you want the parser cache to try retrieving cached results, set $pcache to done.

This hook is called just prior to outputting the page content, but after the usual header content (page title, site sub-title, redirect message, etc.) have been output. It allows you to add additional content as part of this article header, e.g. a breadcrumb trail.

If you want to add custom output, you need to add a global declaration for $wgOut and then use that object to output your content (e.g. ).