MediaWiki  1.30.0
ChangeTagsRevisionItem Class Reference

Item class for a live revision table row with its associated change tags. More...

Inheritance diagram for ChangeTagsRevisionItem:
Collaboration diagram for ChangeTagsRevisionItem:

Public Member Functions

 getHTML ()
 
 getTags ()
 
- Public Member Functions inherited from RevisionItem
 __construct ( $list, $row)
 
 canView ()
 Returns true if the current user can view the item. More...
 
 canViewContent ()
 Returns true if the current user can view the item text/file. More...
 
 getAuthorIdField ()
 Get the DB field name storing user ids. More...
 
 getAuthorNameField ()
 Get the DB field name storing user names. More...
 
 getIdField ()
 Get the DB field name associated with the ID list. More...
 
 getTimestampField ()
 Get the DB field name storing timestamps. More...
 
 isDeleted ()
 
- Public Member Functions inherited from RevisionItemBase
 formatDate ()
 Get the date, formatted in user's language. More...
 
 formatTime ()
 Get the time, formatted in user's language. More...
 
 getAuthorId ()
 Get the author user ID. More...
 
 getAuthorName ()
 Get the author user name. More...
 
 getId ()
 Get the ID, as it would appear in the ids URL parameter. More...
 
 getTimestamp ()
 Get the timestamp in MW 14-char form. More...
 

Additional Inherited Members

- Protected Member Functions inherited from RevisionItem
 getDiffLink ()
 Get the HTML link to the diff. More...
 
 getRevisionLink ()
 Get the HTML link to the revision text. More...
 
- Protected Member Functions inherited from RevisionItemBase
 getLinkRenderer ()
 Returns an instance of LinkRenderer. More...
 
- Protected Attributes inherited from RevisionItem
RequestContext $context
 
Revision $revision
 
- Protected Attributes inherited from RevisionItemBase
RevisionListBase $list
 The parent. More...
 
 $row
 The database result row. More...
 

Detailed Description

Item class for a live revision table row with its associated change tags.

Since
1.25

Definition at line 26 of file ChangeTagsRevisionItem.php.

Member Function Documentation

◆ getHTML()

ChangeTagsRevisionItem::getHTML ( )
Returns
string A HTML element representing this revision, showing change tags and everything

Reimplemented from RevisionItem.

Definition at line 38 of file ChangeTagsRevisionItem.php.

References $attribs, ChangeTags\formatSummaryRow(), RevisionItem\getDiffLink(), RevisionItem\getRevisionLink(), getTags(), RevisionItem\isDeleted(), list, Linker\revComment(), Linker\revUserLink(), and Xml\tags().

◆ getTags()

ChangeTagsRevisionItem::getTags ( )
Returns
string Comma-separated list of tags

Definition at line 30 of file ChangeTagsRevisionItem.php.

Referenced by getHTML().


The documentation for this class was generated from the following file: