Jump to content

Manual:RevisionRecord.php

From mediawiki.org

This file holds the base class for representing page revisions. An instance of RevisionRecord is essentially a value object, but it may use callbacks for lazy loading and its subclasses are not necessarily immutable.

Instantiation

[edit]

MediaWikiServices->getRevisionFactory()->newRevisionFromRow() - construct a RevisionRecord given a database row and content slots. See also ::newRevisionFromArchiveRow.

Retrieval

[edit]

See also

[edit]