Go to the documentation of this file.
96 return $this->row->$field;
104 return $this->list->getLanguage()->userDate( $this->
getTimestamp(),
105 $this->list->getUser() );
113 return $this->list->getLanguage()->userTime( $this->
getTimestamp(),
114 $this->list->getUser() );
132 return intval( $this->row->$field );
141 return strval( $this->row->$field );
151 return strval( $this->row->$field );
157 abstract public function canView();
168 abstract public function getHTML();
175 return MediaWikiServices::getInstance()->getLinkRenderer();
getHTML()
Get the HTML of the list item.
List for revision table items for a single page.
Abstract base class for revision items.
wfTimestamp( $outputtype=TS_UNIX, $ts=0)
Get a timestamp string in one of various formats.
__construct( $list, $row)
getAuthorId()
Get the author user ID.
canView()
Returns true if the current user can view the item.
getAuthorNameField()
Get the DB field name storing user names.
RevisionListBase $list
The parent.
formatDate()
Get the date, formatted in user's language.
getTimestampField()
Get the DB field name storing timestamps.
getLinkRenderer()
Returns an instance of LinkRenderer.
formatTime()
Get the time, formatted in user's language.
getAuthorName()
Get the author user name.
getId()
Get the ID, as it would appear in the ids URL parameter.
canViewContent()
Returns true if the current user can view the item text/file.
$row
The database result row.
getTimestamp()
Get the timestamp in MW 14-char form.
getAuthorActorField()
Get the DB field name storing actor ids.
getAuthorActor()
Get the author actor ID.
getIdField()
Get the DB field name associated with the ID list.
getAuthorIdField()
Get the DB field name storing user ids.