Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Lib\Changes\ItemChange Class Reference
+ Inheritance diagram for Wikibase\Lib\Changes\ItemChange:
+ Collaboration diagram for Wikibase\Lib\Changes\ItemChange:

Public Member Functions

 getSiteLinkDiff ()
 
- Public Member Functions inherited from Wikibase\Lib\Changes\EntityChange
 getType ()
 
 getEntityId ()
 
 setEntityId (EntityId $entityId)
 Set the Change's entity id (as returned by getEntityId) and the object_id field.
 
 getAction ()
 
 getMetadata ( $cache='no')
 
 setMetadata (array $metadata)
 Sets metadata fields.
 
 getComment ()
 
 setMetadataFromRC (RecentChange $rc, $centralUserId)
 
 setMetadataFromUser (User $user, $centralUserId)
 
 setRevisionInfo (RevisionRecord $revision, $centralUserId)
 
 setTimestamp ( $timestamp)
 
 getSerializedInfo ( $skipKeys=[])
 
- Public Member Functions inherited from Wikibase\Lib\Changes\DiffChange
 getCompactDiff ()
 
 setCompactDiff (EntityDiffChangedAspects $diff)
 
- Public Member Functions inherited from Wikibase\Lib\Changes\ChangeRow
 getAge ()
 
 getTime ()
 
 getUserId ()
 Original (repository) user id, or 0 for logged out users.
 
 __construct (array $fields=[])
 
 getObjectId ()
 
 getField ( $name)
 
 getFields ()
 Overwritten to unserialize the info field on the fly.
 
 getInfo ( $cache='no')
 Returns the info array.
 
 setField ( $name, $value)
 Sets the value of a field.
 
 setFields (array $fields)
 Sets multiple fields.
 
 getId ()
 
 hasField ( $name)
 Gets if a certain field is set.
 

Private Member Functions

 getDiffFromSiteLinkChanges (array $siteLinkChanges)
 
 getDiffFromSiteLinkChangesPerWiki (array $change)
 
 logWarning ( $obj)
 

Additional Inherited Members

- Public Attributes inherited from Wikibase\Lib\Changes\EntityChange
const UPDATE = 'update'
 
const ADD = 'add'
 
const REMOVE = 'remove'
 
const RESTORE = 'restore'
 
- Protected Member Functions inherited from Wikibase\Lib\Changes\EntityChange
 unserializeInfo ( $serialization)
 

Detailed Description

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >
Daniel Kinzler

Member Function Documentation

◆ getDiffFromSiteLinkChanges()

Wikibase\Lib\Changes\ItemChange::getDiffFromSiteLinkChanges ( array  $siteLinkChanges)
private
Parameters
array[]$siteLinkChanges
Returns
Diff

◆ getDiffFromSiteLinkChangesPerWiki()

Wikibase\Lib\Changes\ItemChange::getDiffFromSiteLinkChangesPerWiki ( array  $change)
private

◆ getSiteLinkDiff()

Wikibase\Lib\Changes\ItemChange::getSiteLinkDiff ( )
Returns
Diff

◆ logWarning()

Wikibase\Lib\Changes\ItemChange::logWarning (   $obj)
private

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