MediaWiki  master
MediaWiki\Hook\PersonalUrlsHook Interface Reference

Stable to implement. 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. More...

Detailed Description

Stable to implement.

Definition at line 12 of file PersonalUrlsHook.php.

Member Function Documentation

◆ onPersonalUrls()

MediaWiki\Hook\PersonalUrlsHook::onPersonalUrls ( $personal_urls,

Use this hook to alter the user-specific navigation links (e.g.

"my page, my talk page, my contributions" etc).

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