Manual:Hooks/SpecialListusersDefaultQuery

From MediaWiki.org
Jump to: navigation, search
SpecialListusersDefaultQuery
Available from version 1.13.0
called right before the end of UsersPager::getDefaultQuery()

*Define function:
function fnMyHook( &$pager, &$query ) { ... }

*Attach hook:
$wgHooks['SpecialListusersDefaultQuery'][] = 'MyExtensionHooks::someExample';
Called from: SpecialListusers.php

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


[edit] Details

  • &$pager: The UsersPager instance
  • &$query: The query array to be returned
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox