MediaWiki REL1_39
GetSlotDiffRendererHook.php
Go to the documentation of this file.
1<?php
2
4
8
27 public function onGetSlotDiffRenderer( $contentHandler, &$slotDiffRenderer,
28 $context
29 );
30}
A content handler knows how do deal with a specific type of content on a wiki page.
Renders a diff for a single slot (that is, a diff between two content objects).
Interface for objects which can provide a MediaWiki context on request.
This is a hook handler interface, see docs/Hooks.md.
onGetSlotDiffRenderer( $contentHandler, &$slotDiffRenderer, $context)
Use this hook to replace or wrap the standard SlotDiffRenderer for some content type.