MediaWiki REL1_35
GetSlotDiffRendererHook.php
Go to the documentation of this file.
1<?php
2
4
8
24 public function onGetSlotDiffRenderer( $contentHandler, &$slotDiffRenderer,
25 $context
26 );
27}
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.
onGetSlotDiffRenderer( $contentHandler, &$slotDiffRenderer, $context)
Use this hook to replace or wrap the standard SlotDiffRenderer for some content type.