97 return intval( $this->row->$field );
105 return $this->list->getLanguage()->userDate( $this->
getTimestamp(),
106 $this->list->getUser() );
114 return $this->list->getLanguage()->userTime( $this->
getTimestamp(),
115 $this->list->getUser() );
133 return intval( $this->row->$field );
142 return strval( $this->row->$field );
152 return strval( $this->row->$field );
179 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.
formatTime()
Get the time, formatted in user's language.
getAuthorIdField()
Get the DB field name storing user ids.
stdClass $row
The database result row.
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.
__construct(RevisionListBase $list, $row)
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.
getLinkRenderer()
Returns an instance of LinkRenderer.
List for revision table items for a single page.