MediaWiki
master
Toggle main menu visibility
LogEntry.php
Go to the documentation of this file.
1
<?php
6
7
namespace
MediaWiki\Logging;
8
9
use MediaWiki\Page\PageReference;
10
use MediaWiki\Title\Title;
11
use MediaWiki\User\UserIdentity;
12
24
interface
LogEntry
{
25
31
public
function
getType
();
32
38
public
function
getSubtype
();
39
45
public
function
getFullType
();
46
55
public
function
getParameters
();
56
61
public
function
getPerformerIdentity
():
UserIdentity
;
62
68
public
function
getTarget
();
69
74
public
function
getTargetPage
():
PageReference
;
75
81
public
function
getTimestamp
();
82
88
public
function
getComment
();
89
95
public
function
getDeleted
();
96
101
public
function
isDeleted
( $field );
102
107
public
function
isLegacy
(): bool;
108
}
109
111
class_alias( LogEntry::class,
'LogEntry'
);
MediaWiki\Logging\LogEntry
An individual log entry.
Definition
LogEntry.php:24
MediaWiki\Logging\LogEntry\getType
getType()
The main log type.
MediaWiki\Logging\LogEntry\getFullType
getFullType()
The full logtype in format maintype/subtype.
MediaWiki\Logging\LogEntry\getTimestamp
getTimestamp()
Get the timestamp when the action was executed.
MediaWiki\Logging\LogEntry\getParameters
getParameters()
Get the extra parameters stored for this message.
MediaWiki\Logging\LogEntry\isDeleted
isDeleted( $field)
MediaWiki\Logging\LogEntry\getDeleted
getDeleted()
Get the access restriction.
MediaWiki\Logging\LogEntry\isLegacy
isLegacy()
Whether the parameters for this log are stored in new or old format.
MediaWiki\Logging\LogEntry\getTargetPage
getTargetPage()
Get the target page of this action.
MediaWiki\Logging\LogEntry\getSubtype
getSubtype()
The log subtype.
MediaWiki\Logging\LogEntry\getComment
getComment()
Get the user provided comment.
MediaWiki\Logging\LogEntry\getPerformerIdentity
getPerformerIdentity()
MediaWiki\Logging\LogEntry\getTarget
getTarget()
Get the target page of this action.
MediaWiki\Page\PageReference
Interface for objects (potentially) representing a page that can be viewable and linked to on a wiki.
Definition
PageReference.php:38
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:24
includes
Logging
LogEntry.php
Generated on
for MediaWiki by
1.18.0