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:
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.


[edit] Details

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

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox