Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5974234
ParserOutputStashForEditHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1016 B
Referenced Files
None
Subscribers
None
ParserOutputStashForEditHook.php
View Options
<?php
namespace
MediaWiki\Storage\Hook
;
use
MediaWiki\Content\Content
;
use
MediaWiki\Page\WikiPage
;
use
MediaWiki\Parser\ParserOutput
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "ParserOutputStashForEdit" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
ParserOutputStashForEditHook
{
/**
* This hook is called when an edit stash parse finishes, before the
* output is cached.
*
* @since 1.35
*
* @param WikiPage $page WikiPage of the candidate edit
* @param Content $content Content object of the candidate edit
* @param ParserOutput $output ParserOutput result of the candidate edit
* @param string $summary Change summary of the candidate edit
* @param User $user User considering the edit
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onParserOutputStashForEdit
(
$page
,
$content
,
$output
,
$summary
,
$user
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 17:14 (1 d, 11 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
7b/cd/594d08d024c05dd3022b9787cc0b
Default Alt Text
ParserOutputStashForEditHook.php (1016 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment