These methods need to move to new corresponding methods in ContentHandler. Here's a patch that does the first part of the work for Content::preSaveTransform.
The signature of the ContentHandler method should be:
- ContentHandler::getParserOutput( Content, PageReference, ?int, ParserOptions, bool ) // TODO: discuss if generateHtml should be a new parser option
- ContentHandler::fillParserOutput( Content, PageReference, ?int, ParserOptions, bool, ParserOutput ).
- Move implementation of TextContent::getHtml to TextContentHandler::fillParserOutput ( The same with override classes ).
- ContentHandler::fillParserOutput( Content, PageReference, ?int, ParserOptions, bool, ParserOutput ).
The process:
- Do the same as in the referenced patch for all the methods.
- In all extensions where Content overriding classes override the method getParserOutput - override the ContentHandler::fillParserOutput instead
- Wikibase (deployed) -> Patch
- BlueSpiceSocialProfile -> Patch T292560: Move Profile::getParserOutput and Profile::fillParserOutput to ProfileHandler
- BlueSpiceSocialTopics -> T292988: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- EventLogging (deployed) -> Patch
- examples -> T292987: Move Content::getParserOutput method that don't belong in Content to ContentHandler Patch
- Flow (deployed) -> Patch
- ProofreadPage (deployed) -> Patch
- TemplateStyles (deployed) -> Patch
- UploadWizard (deployed) -> Patch
- In all extensions where AbstractContent overriding classes override the method fillParserOutput - override the ContentHandler method instead
- CollaborationKit -> T292989: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- ProofreadPage (deployed) -> Patch
- THICC -> T292990: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- BlueSpiceBookshelf -> T292993: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- BlueSpiceFoundation -> T292994: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- BlueSpiceSocial -> T292996: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- BlueSpiceSocialProfile -> Patch T292560: Move Profile::getParserOutput and Profile::fillParserOutput to ProfileHandler
- BlueSpiceSocialTopics -> T292988: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- EntitySchema (deployed) -> Patch
- FileAnnotations -> T292997: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- Gadgets (deployed) -> Patch
- JsonConfig (deployed) -> Patch
- MassMessage (deployed) -> Patch
- MediaUploader -> T292998: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- Newsletter (deployed) -> Patch
- NotebookViewer -> T292999: [NotebookViewer extension] Move Content::getParserOutput method that don't belong in Content to ContentHandler
- Scribunto (deployed) -> Patch
- StructuredNavigation -> T293000: [StructuredNavigation extension] Move Content::getParserOutput method that don't belong in Content to ContentHandler
- TEI -> T293001: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- WikiLambda (deployed) -> T293002: Move Content::getParserOutput method that don't belong in Content to ContentHandler Patch
- Wikistories ->T293003: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- Replace all callers. Use ContentRenderer to obtain a ContentHandler, not the Content::getContentHandler method
- core -> Patch
- Wikibase (deployed) -> Patch
- FlaggedRevs (deployed) -> Patch
- TemplateSandbox (deployed) -> Patch
- FileImporter (deployed) -> Patch
- Flow (deployed) -> Patch
- MassMessage (deployed) -> Patch
- SpamBlacklist (deployed) -> Patch
- PageImages (deployed) -> Patch
- SemanticMediaWiki -> T293990: Replace deprecated Content::getParserOutput call to new one in SemanticMediaWiki extension.
- BlueSpiceSocialProfile -> T292560: Move Profile::getParserOutput and Profile::fillParserOutput to ProfileHandler
- BlueSpiceSocialTopics -> T292988: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- CognitiveProcessDesigner -> T293991: Replace deprecated Content::getParserOutput calls to new one in CognitiveProcessDesigner extension.
- ApprovedRevs -> T293992: Replace deprecated Content::getParserOutput calls to new one in ApprovedRevs extension.
- BlueSpiceDashboards -> T293993: Replace deprecated Content::getParserOutput calls to new one in BlueSpiceDashboards extension.
- BlueSpiceEchoConnector -> T293994: Replace deprecated Content::getParserOutput calls to new one in BlueSpiceEchoConnector extension.
- BlueSpiceExtendedSearch -> T293995: Replace deprecated Content::getParserOutput calls to new one in BlueSpiceExtendedSearch extension.
- BlueSpiceFoundation -> T292994: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- BlueSpiceSMWConnector -> T293997: Replace deprecated Content::getParserOutput calls to new one in BlueSpiceSMWConnector extension.
- BlueSpiceSocialWikiPage -> T293998: Replace deprecated Content::getParserOutput calls to new one in BlueSpiceSocialWikiPage extension.
- CollaborationKit -> T292989: Move Content::getParserOutput method that don't belong in Content to ContentHandler
- ContentTransfer -> T293999: Replace deprecated Content::getParserOutput calls to new one in ContentTransfer extension.
- DisplayTitle -> T294000: Replace deprecated Content::getParserOutput calls to new one in DisplayTitle extension.
- DocBookExport -> T294002: Replace deprecated Content::getParserOutput calls to new one in DocBookExport extension.
- ParserMigration -> T294003: Replace deprecated Content::getParserOutput calls to new one in ParserMigration extension.
- Once all callers and overrides in extensions is done, do some hard deprecations.