Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F8100754
EditPageBeforeConflictDiffHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
871 B
Referenced Files
None
Subscribers
None
EditPageBeforeConflictDiffHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\EditPage\EditPage
;
use
MediaWiki\Output\OutputPage
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "EditPageBeforeConflictDiff" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
EditPageBeforeConflictDiffHook
{
/**
* Use this hook to modify the EditPage object and output when there's an edit conflict.
*
* @since 1.35
*
* @param EditPage $editor
* @param OutputPage $out
* @return 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.
*/
public
function
onEditPageBeforeConflictDiff
(
$editor
,
$out
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, Dec 8, 01:59 (1 d, 14 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f1/0c/318e44839ab501b0fc7766a8430e
Default Alt Text
EditPageBeforeConflictDiffHook.php (871 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment