MediaWiki REL1_37
MediaWiki\Hook\UndeletePageToolLinksHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\UndeletePageToolLinksHook:

Public Member Functions

 onUndeletePageToolLinks (IContextSource $context, LinkRenderer $linkRenderer, array &$links)
 Use this hook to add one or more links to edit page subtitle when a page has been previously deleted.
 

Detailed Description

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

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

Stability: stable
to implement

Definition at line 15 of file UndeletePageToolLinksHook.php.

Member Function Documentation

◆ onUndeletePageToolLinks()

MediaWiki\Hook\UndeletePageToolLinksHook::onUndeletePageToolLinks ( IContextSource  $context,
LinkRenderer  $linkRenderer,
array &  $links 
)

Use this hook to add one or more links to edit page subtitle when a page has been previously deleted.

Since
1.35
Parameters
IContextSource$context
LinkRenderer$linkRenderer
string[]&$linksArray of HTML strings
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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