MediaWiki
REL1_35
HistoryPageToolLinksHook.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
12
interface
HistoryPageToolLinksHook
{
23
public
function
onHistoryPageToolLinks
( $context, $linkRenderer, &$links );
24
}
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:55
MediaWiki\Hook\HistoryPageToolLinksHook
Stable to implement.
Definition
HistoryPageToolLinksHook.php:12
MediaWiki\Hook\HistoryPageToolLinksHook\onHistoryPageToolLinks
onHistoryPageToolLinks( $context, $linkRenderer, &$links)
Use this hook to add one or more links to revision history page subtitle.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
actions
Hook
HistoryPageToolLinksHook.php
Generated on Sat Apr 6 2024 00:06:48 for MediaWiki by
1.9.8