Open main menu


Available from version 1.18.0 (r80333)
After showing the footer section of an ordinary page view.
Define function:
public static function onArticleViewFooter( $article ) { ... }
Attach hook:

In extension.json:

	"Hooks": {
		"ArticleViewFooter": "MyExtensionHooks::onArticleViewFooter"

For MediaWiki ≤1.25:

$wgHooks['ArticleViewFooter'][] = 'MyExtensionHooks::onArticleViewFooter';
Called from:File(s): page/Article.php

For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:ArticleViewFooter extensions.


  • $article: Article object
  • $patrolFooterShown: Boolean whether patrol footer is being shown