public static function onCentralNoticeCampaignChange ( string $action , string $time , string $campaignName , User $user , array $settingsBeforeChanges , array $settingsAfterChanges , ? string $summary ) { ... }
$wgHooks [ 'CentralNoticeCampaignChange' ][] = 'MyExtensionHooks::onCentralNoticeCampaignChange' ;
For more information about attaching hooks, see Manual:Hooks . For examples of other extensions using this hook, see Category:CentralNoticeCampaignChange extensions .
This hook cannot be aborted.
$action
string
'created'
'modified'
'removed'
$time
IDatabase :: timestamp ()
$campaignName
$user
User
$settingsBeforeChanges
array
Campaign :: processSettingsForHook
$settingsAfterChanges
$summary
null