MediaWiki master
|
Item class for a live revision table row with its associated change tags. More...
Inherits MediaWiki\RevisionList\RevisionItem.
Public Member Functions | |||||||
getHTML () | |||||||
getTags () | |||||||
Public Member Functions inherited from MediaWiki\RevisionList\RevisionItem | |||||||
__construct (RevisionListBase $list, $row) | |||||||
| |||||||
canView () | |||||||
Returns true if the current user can view the item.
| |||||||
canViewContent () | |||||||
Returns true if the current user can view the item text/file.
| |||||||
getAuthorIdField () | |||||||
Get the DB field name storing user ids.Override this function.
| |||||||
getAuthorNameField () | |||||||
Get the DB field name storing user names.Override this function.
| |||||||
getIdField () | |||||||
Get the DB field name associated with the ID list.Override this function.
| |||||||
getTimestampField () | |||||||
Get the DB field name storing timestamps.Override this function.
| |||||||
isDeleted () | |||||||
Public Member Functions inherited from MediaWiki\RevisionList\RevisionItemBase | |||||||
formatDate () | |||||||
Get the date, formatted in user's language. | |||||||
formatTime () | |||||||
Get the time, formatted in user's language. | |||||||
getAuthorActor () | |||||||
Get the author actor ID. | |||||||
getAuthorActorField () | |||||||
Get the DB field name storing actor ids. | |||||||
getAuthorId () | |||||||
Get the author user ID. | |||||||
getAuthorName () | |||||||
Get the author user name. | |||||||
getId () | |||||||
Get the ID, as it would appear in the ids URL parameter. | |||||||
getTimestamp () | |||||||
Get the timestamp in MW 14-char form. | |||||||
Additional Inherited Members | |
Protected Member Functions inherited from MediaWiki\RevisionList\RevisionItem | |
getDiffLink () | |
Get the HTML link to the diff. | |
getRevisionLink () | |
Get the HTML link to the revision text. | |
getRevisionRecord () | |
Get the RevisionRecord for the item. | |
Protected Member Functions inherited from MediaWiki\RevisionList\RevisionItemBase | |
getLinkRenderer () | |
Returns an instance of LinkRenderer. | |
Protected Attributes inherited from MediaWiki\RevisionList\RevisionItem | |
RequestContext | $context |
RevisionRecord | $revisionRecord |
Protected Attributes inherited from MediaWiki\RevisionList\RevisionItemBase | |
RevisionListBase | $list |
The parent. | |
stdClass | $row |
The database result row. | |
Item class for a live revision table row with its associated change tags.
Definition at line 32 of file ChangeTagsRevisionItem.php.
ChangeTagsRevisionItem::getHTML | ( | ) |
Reimplemented from MediaWiki\RevisionList\RevisionItem.
Definition at line 44 of file ChangeTagsRevisionItem.php.
References ChangeTags\formatSummaryRow(), MediaWiki\RevisionList\RevisionItem\getDiffLink(), MediaWiki\RevisionList\RevisionItem\getRevisionLink(), MediaWiki\RevisionList\RevisionItem\getRevisionRecord(), getTags(), and MediaWiki\RevisionList\RevisionItem\isDeleted().
ChangeTagsRevisionItem::getTags | ( | ) |
Definition at line 36 of file ChangeTagsRevisionItem.php.
Referenced by getHTML().