Page MenuHomePhabricator

Echo's ContainmentSet::getValues should not use deprecated $article->getText()
Closed, ResolvedPublic

Description

$article->getText() is deprecated.

Use ContentHandler::getContentText( $article->getContent() ) instead. Note however that this method may return null for non-textual types of content.

If you *know* the content model, you can also use $article->getContent()->getNativeData()