MediaWiki REL1_35
MediaWiki\Hook\EditPageBeforeConflictDiffHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\EditPageBeforeConflictDiffHook:

Public Member Functions

 onEditPageBeforeConflictDiff ( $editor, $out)
 Use this hook to modify the EditPage object and output when there's an edit conflict.
 

Detailed Description

Stable to implement.

Definition at line 12 of file EditPageBeforeConflictDiffHook.php.

Member Function Documentation

◆ onEditPageBeforeConflictDiff()

MediaWiki\Hook\EditPageBeforeConflictDiffHook::onEditPageBeforeConflictDiff (   $editor,
  $out 
)

Use this hook to modify the EditPage object and output when there's an edit conflict.

Since
1.35
Parameters
EditPage$editor
OutputPage$out
Returns
bool|void True or no return value to continue. 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.

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: