Manual:PreparedUpdate.php
MediaWiki file: PreparedUpdate.php | |
---|---|
Location: | includes/Storage/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
Classes: | MediaWiki\Storage\PreparedUpdate |
An object interface representing a page update during an edit. Instances of PreparedUpdate may be passed to hook handlers to provide them with access to the rendered version of a revision that is about to be saved, or has just been saved. Introduced in 1.38 (replaces PreparedEdit).
- getPage()
- getRawContent()
- isCountable()
- isRedirect()
- getRevision()
- getRenderedRevision() - returns a RenderedRevision instance acting as a lazy holder for the ParserOutput.
- getModifiedSlotRoles()
- getRemovedSlotRoles()
- getCanonicalParserOutput()
- getParserOutputForMetaData()