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()

Event Timeline

daniel created this task.Sep 29 2016, 3:17 PM
Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptSep 29 2016, 3:17 PM

Change 313429 had a related patch set uploaded (by Enigmaeth):
Dropped call to WikiPage::getText()

https://gerrit.wikimedia.org/r/313429

Change 313429 merged by jenkins-bot:
Dropped call to WikiPage::getText()

https://gerrit.wikimedia.org/r/313429

enigmaeth closed this task as Resolved.Sep 29 2016, 7:58 PM