EditResult is an immutable object created during a page update by the PageUpdater using a builder object, the EditResultBuilder. EditResult is a container for information on how the edit interacted with the page and previous revisions. It also aims to provide a standardized way of describing reverts and reverted edits. It is as simple as possible, with no dependencies on the DB or global variables. Most of the logic is encapsulated in the builder. PageUpdater::getEditResult() replaces the following methods: * getOriginalRevisionId() * getUndidRevisionId() They are both available in the EditResult object. PageUpdater::markAsRevert() replaces PageUpdater::setUndidRevisionId() Bug: T254074 Change-Id: Ie04c38043d9c295552e488109436ec1df20bb2ca |
||
|---|---|---|
| .. | ||
| BlobStoreFactoryTest.php | ||
| DerivedPageDataUpdaterTest.php | ||
| NameTableStoreFactoryTest.php | ||
| NameTableStoreTest.php | ||
| PageUpdaterTest.php | ||
| RevisionSlotsUpdateTest.php | ||
| SqlBlobStoreTest.php | ||