MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onGetSlotDiffRenderer ( $contentHandler, &$slotDiffRenderer, $context) | |
Use this hook to replace or wrap the standard SlotDiffRenderer for some content type. | |
Stable to implement.
Definition at line 13 of file GetSlotDiffRendererHook.php.
MediaWiki\Content\Hook\GetSlotDiffRendererHook::onGetSlotDiffRenderer | ( | $contentHandler, | |
& | $slotDiffRenderer, | ||
$context | |||
) |
Use this hook to replace or wrap the standard SlotDiffRenderer for some content type.
ContentHandler | $contentHandler | ContentHandler for which the slot diff renderer is fetched |
SlotDiffRenderer | &$slotDiffRenderer | SlotDiffRenderer to change or replace |
IContextSource | $context |
Implemented in MediaWiki\HookContainer\HookRunner.