75 return strlen( $this->data );
134 public function convert( $toModel, $lossy =
'' ) {
143 return $this->
getData() == $that->getData();
148class_alias( FallbackContent::class,
'FallbackContent' );
Base class for all Content objects.
Content object implementation representing unknown content.
__construct( $data, $model_id)
getWikitextForTransclusion()
getTextForSearchIndex()
Returns an empty string.
isCountable( $hasLinks=null)
Returns false.
equalsInternal(Content $that)
Helper for AbstractContent::equals.
getSize()
Returns the data size in bytes.
convert( $toModel, $lossy='')
getTextForSummary( $maxlength=250)
Returns an empty string.
Content objects represent page content, e.g.