MediaWiki master
MediaWiki\Diff\Hook\TextSlotDiffRendererTablePrefixHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onTextSlotDiffRendererTablePrefix (TextSlotDiffRenderer $textSlotDiffRenderer, IContextSource $context, array &$parts)
 Use this hook to change the HTML that is included in a prefix container directly before the diff table.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "TextSlotDiffRendererTablePrefix" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file TextSlotDiffRendererTablePrefixHook.php.

Member Function Documentation

◆ onTextSlotDiffRendererTablePrefix()

MediaWiki\Diff\Hook\TextSlotDiffRendererTablePrefixHook::onTextSlotDiffRendererTablePrefix ( TextSlotDiffRenderer $textSlotDiffRenderer,
IContextSource $context,
array & $parts )

Use this hook to change the HTML that is included in a prefix container directly before the diff table.

Since
1.41
Parameters
TextSlotDiffRenderer$textSlotDiffRenderer
IContextSource$context
(string|null)[]&$parts HTML strings to add to a container above the diff table. Will be sorted by key before being output.
Returns
bool|void True or no return value to continue or false to abort

The documentation for this interface was generated from the following file: