MediaWiki REL1_39
MediaWiki\Hook\PersonalUrlsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\PersonalUrlsHook:

Public Member Functions

 onPersonalUrls (&$personal_urls, &$title, $skin)
 Use this hook to alter the user-specific navigation links (e.g.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "PersonalUrls" to register handlers implementing this interface.

Stability: stable
to implement
Deprecated
since 1.39 Use SkinTemplateNavigation__Universal instead.

Definition at line 16 of file PersonalUrlsHook.php.

Member Function Documentation

◆ onPersonalUrls()

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).

Since
1.35
Deprecated
since 1.39 Use SkinTemplateNavigation__Universal instead.
Parameters
array&$personal_urlsArray of link specifiers (see SkinTemplate.php)
Title&$titleCurrent page
SkinTemplate$skinSkinTemplate object providing context (e.g. to check if the user is logged in, etc.)
Returns
void This hook must not abort, it must return no value

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: