MediaWiki
master
ManualLogEntryBeforePublishHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Logging\Hook
;
4
5
use
MediaWiki\Logging\ManualLogEntry
;
6
14
interface
ManualLogEntryBeforePublishHook
{
24
public
function
onManualLogEntryBeforePublish
( $logEntry ): void;
25
}
26
28
class_alias( ManualLogEntryBeforePublishHook::class,
'MediaWiki\\Hook\\ManualLogEntryBeforePublishHook'
);
MediaWiki\Logging\ManualLogEntry
Class for creating new log entries and inserting them into the database.
Definition
ManualLogEntry.php:45
MediaWiki\Logging\Hook\ManualLogEntryBeforePublishHook
This is a hook handler interface, see docs/Hooks.md.
Definition
ManualLogEntryBeforePublishHook.php:14
MediaWiki\Logging\Hook\ManualLogEntryBeforePublishHook\onManualLogEntryBeforePublish
onManualLogEntryBeforePublish( $logEntry)
Use this hook to access or modify log entry just before it is published.
MediaWiki\Logging\Hook
Definition
LogEventsListGetExtraInputsHook.php:3
includes
Logging
Hook
ManualLogEntryBeforePublishHook.php
Generated on Wed Jul 15 2026 21:26:33 for MediaWiki by
1.10.0