Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Client\RecentChanges\RevisionData Class Reference

Represents a revision on a site. More...

Public Member Functions

 __construct ( $userName, $timestamp, $comment, $commentHtml, $siteId, int $visibility, array $changeParams)
 
 getUserName ()
 
 getCentralUserId ()
 Gets the central user ID.
 
 getPageId ()
 
 getRevId ()
 
 getParentId ()
 
 getVisibility ()
 
 getTimestamp ()
 
 getComment ()
 
 getCommentHtml ()
 
 getSiteId ()
 
 getChangeParams ()
 

Protected Attributes

 $userName
 
 $timestamp
 
 $comment
 
 $commentHtml
 
 $changeParams
 

Private Attributes

 $siteId
 
 $visibility
 

Detailed Description

Represents a revision on a site.

Todo:
Merge this into ExternalChange
Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
Daniel Kinzler

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Client\RecentChanges\RevisionData::__construct (   $userName,
  $timestamp,
  $comment,
  $commentHtml,
  $siteId,
int  $visibility,
array  $changeParams 
)
Parameters
string$userName
string$timestamp
string$comment
string | null$commentHtml
string$siteId
int$visibility
array$changeParams

Member Function Documentation

◆ getCentralUserId()

Wikibase\Client\RecentChanges\RevisionData::getCentralUserId ( )

Gets the central user ID.

This should be from CentralIdLookup, with the repo wiki and client wiki being part of the same central system.

Returns
int

◆ getChangeParams()

Wikibase\Client\RecentChanges\RevisionData::getChangeParams ( )
Returns
array

◆ getComment()

Wikibase\Client\RecentChanges\RevisionData::getComment ( )
Returns
string

◆ getCommentHtml()

Wikibase\Client\RecentChanges\RevisionData::getCommentHtml ( )
Returns
string|null

◆ getPageId()

Wikibase\Client\RecentChanges\RevisionData::getPageId ( )
Returns
int

◆ getParentId()

Wikibase\Client\RecentChanges\RevisionData::getParentId ( )
Returns
int

◆ getRevId()

Wikibase\Client\RecentChanges\RevisionData::getRevId ( )
Returns
int

◆ getSiteId()

Wikibase\Client\RecentChanges\RevisionData::getSiteId ( )
Returns
string

◆ getTimestamp()

Wikibase\Client\RecentChanges\RevisionData::getTimestamp ( )
Returns
string

◆ getUserName()

Wikibase\Client\RecentChanges\RevisionData::getUserName ( )
Returns
string

◆ getVisibility()

Wikibase\Client\RecentChanges\RevisionData::getVisibility ( )
Returns
int

Member Data Documentation

◆ $changeParams

Wikibase\Client\RecentChanges\RevisionData::$changeParams
protected

◆ $comment

Wikibase\Client\RecentChanges\RevisionData::$comment
protected

◆ $commentHtml

Wikibase\Client\RecentChanges\RevisionData::$commentHtml
protected

◆ $siteId

Wikibase\Client\RecentChanges\RevisionData::$siteId
private

◆ $timestamp

Wikibase\Client\RecentChanges\RevisionData::$timestamp
protected

◆ $userName

Wikibase\Client\RecentChanges\RevisionData::$userName
protected

◆ $visibility

Wikibase\Client\RecentChanges\RevisionData::$visibility
private

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