Manual:EditResult.php

Object for storing information about the effects of an edit. This object should be constructed by an EditResultBuilder (internal use only) with relevant information filled in during the process of saving the revision by the PageUpdater . You can use it to extract information about whether the edit was a revert and which edits were reverted. Introduced in MW 1.35.