MediaWiki master
LogEntry.php
Go to the documentation of this file.
1<?php
7namespace MediaWiki\Logging;
8
12
24interface LogEntry {
25
31 public function getType();
32
38 public function getSubtype();
39
45 public function getFullType();
46
55 public function getParameters();
56
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
111class_alias( LogEntry::class, 'LogEntry' );
Represents a title within MediaWiki.
Definition Title.php:69
An individual log entry.
Definition LogEntry.php:24
getType()
The main log type.
getFullType()
The full logtype in format maintype/subtype.
getTimestamp()
Get the timestamp when the action was executed.
getParameters()
Get the extra parameters stored for this message.
getDeleted()
Get the access restriction.
isLegacy()
Whether the parameters for this log are stored in new or old format.
getTargetPage()
Get the target page of this action.
getSubtype()
The log subtype.
getComment()
Get the user provided comment.
getTarget()
Get the target page of this action.
Interface for objects (potentially) representing a page that can be viewable and linked to on a wiki.
Interface for objects representing user identity.