Manual:Hooks/EditPageBeforeConflictDiff/en

Details
Return false to halt normal diff output; in this case you're responsible for computing and outputting the entire "conflict" part, i.e., the "difference between revisions" and "your text" headers and sections.
 * &$editor: EditPage instance
 * &$out: OutputPage instance