Manual:Hooks/PageHistoryBeforeList

From MediaWiki.org

Jump to: navigation, search
PageHistoryBeforeList
Available from version 1.10.0
When a history page list is about to be constructed.

*Define function:
function fnMyHook( $article ) { ... }

*Attach hook:
$wgHooks['PageHistoryBeforeList'][] = 'fnMyHook';
Called from: PageHistory.php

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


[edit] Details

  • $article: the article that the history is loading for