Jump to content

Manual:Hooks/ContribsPager::getQueryInfo

From mediawiki.org
ContribsPager::getQueryInfo
Available from version 1.13.0
Called before the contributions query is about to run
Define function:
public static function onContribsPager_getQueryInfo( ContribsPager &$pager, array &$queryInfo ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"ContribsPager::getQueryInfo": "MediaWiki\\Extension\\MyExtension\\Hooks::onContribsPagergetQueryInfo"
	}
}
Called from: File(s): specials/pagers/ContribsPager.php
Function(s): getQueryInfo
Interface: ContribsPager__getQueryInfoHook.php

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


Details

[edit]