MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUserToolLinksEdit ( $userId, $userText, &$items) | |
This hook is called when generating a list of user tool links, e.g. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UserToolLinksEdit" to register handlers implementing this interface.
Definition at line 12 of file UserToolLinksEditHook.php.
MediaWiki\Hook\UserToolLinksEditHook::onUserToolLinksEdit | ( | $userId, | |
$userText, | |||
& | $items | ||
) |
This hook is called when generating a list of user tool links, e.g.
"Foobar (Talk | Contribs | Block)".
int | $userId | User ID of the current user |
string | $userText | Username of the current user |
string[] | &$items | Array of user tool links as HTML fragments |
Implemented in MediaWiki\HookContainer\HookRunner.