MediaWiki
master
Toggle main menu visibility
HistoryPageToolLinksHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Actions\Hook;
4
5
use MediaWiki\Context\IContextSource;
6
use MediaWiki\Linker\LinkRenderer;
7
15
interface
HistoryPageToolLinksHook
{
26
public
function
onHistoryPageToolLinks
(
IContextSource
$context,
LinkRenderer
$linkRenderer, array &$links );
27
}
28
30
class_alias( HistoryPageToolLinksHook::class,
'MediaWiki\\Hook\\HistoryPageToolLinksHook'
);
MediaWiki\Linker\LinkRenderer
Class that generates HTML for internal links.
Definition
LinkRenderer.php:40
MediaWiki\Actions\Hook\HistoryPageToolLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition
HistoryPageToolLinksHook.php:15
MediaWiki\Actions\Hook\HistoryPageToolLinksHook\onHistoryPageToolLinks
onHistoryPageToolLinks(IContextSource $context, LinkRenderer $linkRenderer, array &$links)
Use this hook to add one or more links to revision history page subtitle.
MediaWiki\Context\IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:57
includes
Actions
Hook
HistoryPageToolLinksHook.php
Generated on
for MediaWiki by
1.18.0