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
Oct 3 2026, 01:14 (4 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
bd/f9/0f2a82657856efd731bb063bcc2e
Default Alt Text
HistoryPageToolLinksHook.php (772 B)

Event Timeline