getText() ) ); return $text === ''; } /** * Determines whether this content should be counted as a "page" for the wiki's statistics. * * @param bool|null $hasLinks * * @return bool */ public function isCountable( $hasLinks = null ) { return false; } public function isValid() { return parent::isValid(); } /** * Should return text relevant to the wiki's search index. * * @return string */ public function getTextForSearchIndex() { return strip_tags( $this->getText() ); } public function convert( $toModel, $lossy = '' ) { return parent::convert( $toModel, $lossy ); } public function getSection( $sectionId ) { return parent::getSection( $sectionId ); } public function replaceSection( $sectionId, Content $with, $sectionTitle = '' ) { return parent::replaceSection( $sectionId, $with, $sectionTitle ); } }