Open main menu


< Manual:Hooks
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": "MyExtensionHooks::onSpecialListusersQueryInfo"

For MediaWiki ≤1.25:

$wgHooks['SpecialListusersQueryInfo'][] = 'MyExtensionHooks::onSpecialListusersQueryInfo';
Called from:File(s): UsersPager.php

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


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