MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onPersonalUrls (&$personal_urls, &$title, $skin) | |
Use this hook to alter the user-specific navigation links (e.g. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "PersonalUrls" to register handlers implementing this interface.
Definition at line 15 of file PersonalUrlsHook.php.
MediaWiki\Hook\PersonalUrlsHook::onPersonalUrls | ( | & | $personal_urls, |
& | $title, | ||
$skin | |||
) |
Use this hook to alter the user-specific navigation links (e.g.
"my page, my talk page, my contributions" etc).
array | &$personal_urls | Array of link specifiers (see SkinTemplate.php) |
Title | &$title | Current page |
SkinTemplate | $skin | SkinTemplate object providing context (e.g. to check if the user is logged in, etc.) |
Implemented in MediaWiki\HookContainer\HookRunner.