MediaWiki REL1_35
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.
 

Detailed Description

Stable to implement.

Definition at line 12 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
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: