Manual:RevisionRecord.php

From Linux Web Expert

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

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

Retrieval

See also