Wikibase
MediaWiki Wikibase extension
|
Class identifying a repo change so that relevant entries can be easily found in a client's recentchanges table. More...
Public Member Functions | |
__construct (string $entityIdSerialization, string $revisionTimestamp, int $revisionId, int $revisionParentId) | |
getEntityIdSerialization () | |
Serialization of the entity id changed. | |
getRevisionTimestamp () | |
MediaWiki style timestamp of the revision. | |
getRevisionId () | |
getRevisionParentId () | |
serialize () | |
unserialize ( $serialized) | |
toArray () | |
Public Attributes | |
const | ARRAYFORMATVERSION = 1 |
Increases whenever the array format (self::toArray) changes. | |
Private Attributes | |
$entityIdSerialization | |
$revisionTimestamp | |
$revisionId | |
$revisionParentId | |
Class identifying a repo change so that relevant entries can be easily found in a client's recentchanges table.
Contains the entity id changed, the revision's timestamp, id, and its parent ids.
Wikibase\Lib\Changes\RepoRevisionIdentifier::__construct | ( | string | $entityIdSerialization, |
string | $revisionTimestamp, | ||
int | $revisionId, | ||
int | $revisionParentId | ||
) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::getEntityIdSerialization | ( | ) |
Serialization of the entity id changed.
Wikibase\Lib\Changes\RepoRevisionIdentifier::getRevisionId | ( | ) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::getRevisionParentId | ( | ) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::getRevisionTimestamp | ( | ) |
MediaWiki style timestamp of the revision.
Wikibase\Lib\Changes\RepoRevisionIdentifier::serialize | ( | ) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::toArray | ( | ) |
Wikibase\Lib\Changes\RepoRevisionIdentifier::unserialize | ( | $serialized | ) |
string | $serialized | JSON |
MWException |
|
private |
|
private |
|
private |
|
private |
const Wikibase\Lib\Changes\RepoRevisionIdentifier::ARRAYFORMATVERSION = 1 |
Increases whenever the array format (self::toArray) changes.