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
Wed, Aug 19, 14:13 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
96/af/63093d0ab5c025599b5ed55f8928
Default Alt Text
ArticleContentOnDiffHook.php (729 B)

Event Timeline