Page MenuHomeWickedGov Phorge

HistoryPageToolLinksHook.php
No OneTemporary

Size
772 B
Referenced Files
None
Subscribers
None

HistoryPageToolLinksHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\Context\IContextSource;
use MediaWiki\Linker\LinkRenderer;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "HistoryPageToolLinks" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface HistoryPageToolLinksHook {
/**
* Use this hook to add one or more links to revision history page subtitle.
*
* @since 1.35
*
* @param IContextSource $context
* @param LinkRenderer $linkRenderer
* @param string[] &$links Array of HTML strings
* @return bool|void True or no return value to continue or false to abort
*/
public function onHistoryPageToolLinks( IContextSource $context, LinkRenderer $linkRenderer, array &$links );
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 20:19 (23 h, 9 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
74/b1/79c80d2f77fbc773fc4ce04376b0
Default Alt Text
HistoryPageToolLinksHook.php (772 B)

Event Timeline