MediaWiki
REL1_37
UndeletePageToolLinksHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
IContextSource
;
6
use
MediaWiki\Linker\LinkRenderer
;
7
15
interface
UndeletePageToolLinksHook
{
27
public
function
onUndeletePageToolLinks
(
IContextSource
$context,
LinkRenderer
$linkRenderer, array &$links );
28
}
MediaWiki\Linker\LinkRenderer
Class that generates HTML links for pages.
Definition
LinkRenderer.php:43
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:58
MediaWiki\Hook\UndeletePageToolLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UndeletePageToolLinksHook.php:15
MediaWiki\Hook\UndeletePageToolLinksHook\onUndeletePageToolLinks
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.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
skins
Hook
UndeletePageToolLinksHook.php
Generated on Fri Apr 5 2024 23:40:53 for MediaWiki by
1.9.8