Page MenuHomePhabricator

Replace Content::getNativeData() calls with TextContent::getText() in SmiteSpam
Open, Needs TriagePublic

Description

See parent task.

SmiteSpam/includes/SmiteSpamAnalyzer.php:				|| !method_exists( $page->getContent(), 'getNativeData' ) ) {
SmiteSpam/includes/SmiteSpamWikiPage.php:				$content = $this->getContent()->getNativeData();
SmiteSpam/includes/SmiteSpamWikiPage.php:				$content = $this->getContent()->getNativeData();
SmiteSpam/includes/SmiteSpamWikiPage.php:				$this->metadata['content'] = $this->getContent()->getNativeData();

Event Timeline

Change 775886 had a related patch set uploaded (by Russ Rogovetz; author: Russ Rogovetz):

[mediawiki/extensions/SmiteSpam@master] Replace getNativeData to getText for SmiteSpam

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