Page MenuHomeWickedGov Phorge

CentralNoticeCampaignChangeHook.php
No OneTemporary

Size
898 B
Referenced Files
None
Subscribers
None

CentralNoticeCampaignChangeHook.php

<?php
use MediaWiki\User\User;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "CentralNoticeCampaignChange" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface CentralNoticeCampaignChangeHook {
/**
* @param string $action 'created', 'modified', or 'removed'
* @param string $time Database depending timestamp of the modification
* @param string $campaignName Name of the campaign
* @param User $user User causing the change
* @param array $beginSettings array of campaign settings before changes
* @param array $endSettings array of campaign settings after changes
* @param string $summary Change summary provided by the user
*/
public function onCentralNoticeCampaignChange(
$action,
$time,
$campaignName,
$user,
$beginSettings,
$endSettings,
$summary
): void;
}

File Metadata

Mime Type
text/x-php
Expires
Aug 16 2026, 03:58 (12 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
84/3b/a69045eee0a0eb1bcf298480b121
Default Alt Text
CentralNoticeCampaignChangeHook.php (898 B)

Event Timeline