Available from version 1.13.0
When a history pager query parameter set is constructed.
Define function:
public static function onPageHistoryPager_getQueryInfo( &$pager, &$queryInfo ) { ... }
Attach hook: In extension.json:
	"Hooks": {
		"PageHistoryPager::getQueryInfo": "MyExtensionHooks::onPageHistoryPagergetQueryInfo"
Called from: File(s): actions/HistoryAction.php
Interface: PageHistoryPager__getQueryInfoHook.php

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

Details Edit

  • &$pager: the pager, instance of class HistoryPager defined in HistoryPage.php
  • &$queryInfo: the query parameters