Jump to content

Manual:Hooks/SpecialListusersQueryInfo

From mediawiki.org
SpecialListusersQueryInfo
Available from version 1.13.0
called right before the end of UsersPager::getQueryInfo()
Define function:
public static function onSpecialListusersQueryInfo( $pager, &$query ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"SpecialListusersQueryInfo": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialListusersQueryInfo"
	}
}
Called from: File(s): UsersPager.php
Interface: SpecialListusersQueryInfoHook.php

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

Details

[edit]
  • $pager: The UsersPager instance
  • &$query: The query array to be returned