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