Page MenuHomePhabricator

Replace Content::getNativeData() calls with TextContent::getText() in JsonConfig
Closed, ResolvedPublic

Description

See parent task.

JsonConfig/includes/JCCache.php:				$result = $result->getNativeData();
JsonConfig/includes/JCCache.php:				$value = $value->getNativeData();
JsonConfig/includes/JCContentHandler.php:			return $content->getNativeData(); // Invalid JSON - can't do anything with it
JsonConfig/includes/JCContent.php:		$rawText = $this->getNativeData();
JsonConfig/includes/JCContent.php:		$text = trim( $this->getNativeData() );
JsonConfig/includes/JCContent.php:		if ( $this->getNativeData() !== $formatted ) {

Event Timeline

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

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

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

Aklapper added a subscriber: RussRogovetz.

@RussRogovetz: Removing task assignee as this open task has been assigned for more than two years - See the email sent to task assignee on October 11th.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!

Change #770919 abandoned by Jdlrobson:

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

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

Change #1251449 had a related patch set uploaded (by Lewis Cawte; author: Lewis Cawte):

[mediawiki/extensions/JsonConfig@master] Drop use of getNativeData()

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

Change #1251449 merged by jenkins-bot:

[mediawiki/extensions/JsonConfig@master] Drop use of getNativeData()

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

cscott claimed this task.