Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2752908
ArticleContentOnDiffHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
729 B
Referenced Files
None
Subscribers
None
ArticleContentOnDiffHook.php
View Options
<?php
namespace
MediaWiki\Diff\Hook
;
use
DifferenceEngine
;
use
MediaWiki\Output\OutputPage
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ArticleContentOnDiff" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ArticleContentOnDiffHook
{
/**
* This hook is called before showing the article content below a diff. Use
* this hook to change the content in this area or how it is loaded.
*
* @since 1.35
*
* @param DifferenceEngine $diffEngine
* @param OutputPage $output
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onArticleContentOnDiff
(
$diffEngine
,
$output
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Jul 3, 20:32 (1 d, 14 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4c/a3/0c29431e62cc5f80b6532685bf30
Default Alt Text
ArticleContentOnDiffHook.php (729 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment