< Manual:Hooks 
 
      | 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": "MyExtensionHooks::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
- &$pager: ContribsPager object
- &$queryInfo: The SQL query for the pagination of Special:Contributions
    This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.