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 );
175 return MediaWikiServices::getInstance()->getLinkRenderer();
wfTimestamp( $outputtype=TS_UNIX, $ts=0)
Get a timestamp string in one of various formats.
Abstract base class for revision items.
$row
The database result row.
formatTime()
Get the time, formatted in user's language.
getAuthorIdField()
Get the DB field name storing user ids.
getTimestampField()
Get the DB field name storing timestamps.
canViewContent()
Returns true if the current user can view the item text/file.
getAuthorActorField()
Get the DB field name storing actor ids.
getAuthorActor()
Get the author actor ID.
getAuthorNameField()
Get the DB field name storing user names.
getHTML()
Get the HTML of the list item.
canView()
Returns true if the current user can view the item.
getAuthorId()
Get the author user ID.
getIdField()
Get the DB field name associated with the ID list.
getAuthorName()
Get the author user name.
getTimestamp()
Get the timestamp in MW 14-char form.
RevisionListBase $list
The parent.
formatDate()
Get the date, formatted in user's language.
getId()
Get the ID, as it would appear in the ids URL parameter.
__construct( $list, $row)
getLinkRenderer()
Returns an instance of LinkRenderer.
List for revision table items for a single page.