Base implementation for content objects.
string $model_id
Name of the content model this Content object represents.
Content object implementation representing unknown content.
__construct( $data, $model_id)
convert( $toModel, $lossy='')
getTextForSummary( $maxlength=250)
Returns an empty string.
isCountable( $hasLinks=null)
Returns false.
getSize()
Returns the data size in bytes.
equalsInternal(Content $that)
Checks whether $that is logically equal to this Content object.
getWikitextForTransclusion()
fillParserOutput(Title $title, $revId, ParserOptions $options, $generateHtml, ParserOutput &$output)
Fills the ParserOutput with an error message.
Base interface for content objects.