Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -506,6 +506,9 @@ |
507 | 507 | &$sectionanchor: The section anchor link (e.g. "#overview" ) |
508 | 508 | &$extraq: Extra query parameters which can be added via hooked functions |
509 | 509 | |
| 510 | +'ArticleViewFooter': After showing the footer section of an ordinary page view |
| 511 | +$article: Article object |
| 512 | + |
510 | 513 | 'ArticleViewHeader': Before the parser cache is about to be tried for article |
511 | 514 | viewing. |
512 | 515 | &$article: the article |
Index: trunk/phase3/includes/Article.php |
— | — | @@ -1295,6 +1295,9 @@ |
1296 | 1296 | if ( $wgUseTrackbacks ) { |
1297 | 1297 | $this->addTrackbacks(); |
1298 | 1298 | } |
| 1299 | + |
| 1300 | + wfRunHooks( 'ArticleViewFooter', array( $this ) ); |
| 1301 | + |
1299 | 1302 | } |
1300 | 1303 | |
1301 | 1304 | /** |