MediaWiki  master
EditFilterMergedContentHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
5 use Content;
7 use Status;
8 use User;
9 
39  $summary, User $user, $minoredit
40  );
41 }
MediaWiki\Hook\EditFilterMergedContentHook
This is a hook handler interface, see docs/Hooks.md.
Definition: EditFilterMergedContentHook.php:17
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
Status
Generic operation result class Has warning/error list, boolean status and arbitrary value.
Definition: Status.php:44
$content
$content
Definition: router.php:76
IContextSource
Interface for objects which can provide a MediaWiki context on request.
Definition: IContextSource.php:58
Content
Base interface for content objects.
Definition: Content.php:35
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\$context
IContextSource $context
Definition: MediaWiki.php:40
User
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition: User.php:68