Manual:Hooks/PageHistoryPager::getQueryInfo
From MediaWiki.org
| PageHistoryPager::getQueryInfo | |
|---|---|
| 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: |
$wgHooks['PageHistoryPager::getQueryInfo'][] = 'MyExtensionHooks::onPageHistoryPager::getQueryInfo'; |
| Called from: | HistoryPage.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
