Manual:Hooks/PageHistoryPager::getQueryInfo

From MediaWiki.org

Jump to: navigation, search
PageHistoryPager::getQueryInfo
Available from version 1.13.0
When a history pager query parameter set is constructed.

*Define function:
function fnMyHook( $pager, $queryInfo ) { ... }

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

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


[edit] Details

  • $pager: the pager
  • $queryInfo: the query parameters