Manual:Hooks/SpecialListusersHeader

From MediaWiki.org

Jump to: navigation, search
SpecialListusersHeader
Available from version 1.13.0
called before closing the <fieldset> in UsersPager::getPageHeader()

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

*Attach hook:
$wgHooks['SpecialListusersHeader'][] = 'fnMyHook';
Called from: SpecialListusers.php

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


[edit] Details

  • &$pager: The UsersPager instance
  • &$out: The header HTML
Personal tools