Manual:Hooks/SpecialListusersFormatRow

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

Define function:
public static function onSpecialListusersFormatRow( &$item, $row ) { ... }

Attach hook:
$wgHooks['SpecialListusersFormatRow'][] = 'MyExtensionHooks::onSpecialListusersFormatRow';
Called from: SpecialListusers.php

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


Details [edit]

  • &$item: HTML to be returned. Will be wrapped in <li></li> after the hook finishes
  • $row: Database row object