Jump to content

Manual:Hooks/SpecialListusersHeader

From mediawiki.org
SpecialListusersHeader
Available from version 1.13.0
called before closing the ‎<fieldset> in UsersPager::getPageHeader
Define function:
public static function onSpecialListusersHeader( UsersPager $pager, string &$beforeClosingFieldsetHookOut ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"SpecialListusersHeader": "MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialListusersHeader"
	}
}
Called from: File(s): specials/pagers/UsersPager.php
Interface: SpecialListusersHeaderHook.php

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


Details

[edit]
  • $pager: The UsersPager instance
  • &$beforeClosingFieldsetHookOut: The header HTML

See also

[edit]