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 
37  public function onEditFilterMergedContent( $context, $content, $status,
38  $summary, $user, $minoredit
39  );
40 }
MediaWiki\Hook\EditFilterMergedContentHook\onEditFilterMergedContent
onEditFilterMergedContent( $context, $content, $status, $summary, $user, $minoredit)
Use this hook for a post-section-merge edit filter.
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:55
Content
Base interface for content objects.
Definition: Content.php:35
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:56