Page MenuHomeWickedGov Phorge

TextSlotDiffRendererTablePrefixHook.php
No OneTemporary

Size
960 B
Referenced Files
None
Subscribers
None

TextSlotDiffRendererTablePrefixHook.php

<?php
namespace MediaWiki\Diff\Hook;
use MediaWiki\Context\IContextSource;
use TextSlotDiffRenderer;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "TextSlotDiffRendererTablePrefix" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface TextSlotDiffRendererTablePrefixHook {
/**
* Use this hook to change the HTML that is included in a prefix container directly before the diff table.
*
* @since 1.41
*
* @param TextSlotDiffRenderer $textSlotDiffRenderer
* @param IContextSource $context
* @param (string|null)[] &$parts HTML strings to add to a container above the diff table.
* Will be sorted by key before being output.
* @return bool|void True or no return value to continue or false to abort
*/
public function onTextSlotDiffRendererTablePrefix(
TextSlotDiffRenderer $textSlotDiffRenderer,
IContextSource $context,
array &$parts
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 03:23 (3 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4b/cf/bd98de84a594023b9b60bdd04f88
Default Alt Text
TextSlotDiffRendererTablePrefixHook.php (960 B)

Event Timeline