A content handler knows how do deal with a specific type of content on a wiki page.
getModelID()
Returns the model id that identifies the content model this ContentHandler can handle.
Content handler implementation for unknown content.
makeEmptyContent()
Creates an empty FallbackContent object.
getSlotDiffRendererInternal(IContextSource $context)
serializeContent(Content $content, $format=null)
Returns the content's data as-is.
fillParserOutput(Content $content, ContentParseParams $cpoParams, ParserOutput &$output)
Fills the ParserOutput with an error message.
__construct( $modelId, $formats=null)
Constructs an FallbackContentHandler.
unserializeContent( $blob, $format=null)
Constructs an FallbackContent instance wrapping the given data.
Content object implementation representing unknown content.
Base interface for content objects.
Interface for objects which can provide a MediaWiki context on request.