MediaWiki  master
Go to the documentation of this file.
1 <?php
3 namespace MediaWiki\Content\Hook;
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.
IContextSource $context
Definition: MediaWiki.php:42
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/
onGetSlotDiffRenderer( $contentHandler, &$slotDiffRenderer, $context)
Use this hook to replace or wrap the standard SlotDiffRenderer for some content type.