MediaWiki  master
DifferenceEngineShowEmptyOldContentHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Diff\Hook;
4 
6 
24  public function onDifferenceEngineShowEmptyOldContent( $differenceEngine );
25 }
DifferenceEngine is responsible for rendering the difference between two revisions as HTML.
onDifferenceEngineShowEmptyOldContent( $differenceEngine)
Use this hook to change the diff table body (without header) in cases when there is no old revision o...