MediaWiki  master
HistoryPageToolLinksHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
7 
26  public function onHistoryPageToolLinks( IContextSource $context, LinkRenderer $linkRenderer, array &$links );
27 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Linker\LinkRenderer
Class that generates HTML links for pages.
Definition: LinkRenderer.php:43
MediaWiki\Hook\HistoryPageToolLinksHook
This is a hook handler interface, see docs/Hooks.md.
Definition: HistoryPageToolLinksHook.php:15
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition: IContextSource.php:58
MediaWiki\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 $context
Definition: MediaWiki.php:40