Manual:Hooks/SpecialListusersQueryInfo

From Linux Web Expert

SpecialListusersQueryInfo
<translate> Available from <tvar name=1><translate> version <tvar </tvar></translate>
called right before the end of UsersPager::getQueryInfo()
<translate> Define function:</translate>
public static function onSpecialListusersQueryInfo( $pager, &$query ) { ... }
<translate> Attach hook:</translate> <translate> In <tvar name=1>extension.json</tvar>:</translate>
{
	"Hooks": {
		"SpecialListusersQueryInfo": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialListusersQueryInfo"
	}
}
<translate> Called from:</translate> <translate> File(s):</translate> UsersPager.php
<translate> Interface:</translate> SpecialListusersQueryInfoHook.php

<translate> For more information about attaching hooks, see <tvar name=1>Manual:Hooks </tvar>.</translate>
<translate> For examples of extensions using this hook, see <tvar name=cat>Category:SpecialListusersQueryInfo extensions</tvar>.</translate>

Details

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