Added ArticleViewFooter hook to allow extensions adding additional items to the footer of normal views

This commit is contained in:
Alexandre Emsenhuber 2011-01-14 21:54:29 +00:00
parent 6504af3998
commit 10c8ebb2e7
2 changed files with 6 additions and 0 deletions

View file

@ -506,6 +506,9 @@ before the user is redirected back to the page
&$sectionanchor: The section anchor link (e.g. "#overview" )
&$extraq: Extra query parameters which can be added via hooked functions
'ArticleViewFooter': After showing the footer section of an ordinary page view
$article: Article object
'ArticleViewHeader': Before the parser cache is about to be tried for article
viewing.
&$article: the article

View file

@ -1295,6 +1295,9 @@ class Article {
if ( $wgUseTrackbacks ) {
$this->addTrackbacks();
}
wfRunHooks( 'ArticleViewFooter', array( $this ) );
}
/**