Page MenuHomeWickedGov Phorge

ArticleContentOnDiffHook.php
No OneTemporary

Size
729 B
Referenced Files
None
Subscribers
None

ArticleContentOnDiffHook.php

<?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

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)

Event Timeline