MediaWiki
master
EditFilterMergedContentHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Content\Content
;
6
use
MediaWiki\Context\IContextSource
;
7
use
MediaWiki\Status\Status
;
8
use
MediaWiki\User\User
;
9
17
interface
EditFilterMergedContentHook
{
38
public
function
onEditFilterMergedContent
(
IContextSource
$context,
Content
$content,
Status
$status,
39
$summary,
User
$user, $minoredit
40
);
41
}
MediaWiki\Status\Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition
Status.php:54
MediaWiki\User\User
internal since 1.36
Definition
User.php:93
MediaWiki\Content\Content
Base interface for representing page content.
Definition
Content.php:39
MediaWiki\Context\IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition
IContextSource.php:71
MediaWiki\Hook\EditFilterMergedContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition
EditFilterMergedContentHook.php:17
MediaWiki\Hook\EditFilterMergedContentHook\onEditFilterMergedContent
onEditFilterMergedContent(IContextSource $context, Content $content, Status $status, $summary, User $user, $minoredit)
Use this hook for a post-section-merge edit filter.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
EditFilterMergedContentHook.php
Generated on Mon Dec 2 2024 19:23:51 for MediaWiki by
1.10.0