Manual:Hooks/SpecialListusersDefaultQuery
From MediaWiki.org
| 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