Page MenuHomePhabricator

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


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


Related Gerrit Patches:
mediawiki/extensions/Echo : masterDropped call to WikiPage::getText()

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

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

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