Page MenuHomePhabricator

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

Description

See parent task.

TemplateStyles/includes/TemplateStylesContent.php:		$html .= htmlspecialchars( $this->getNativeData(), ENT_NOQUOTES );
TemplateStyles/includes/TemplateStylesContent.php:		$style = $this->getNativeData();
TemplateStyles/includes/TemplateStylesHooks.php:			$cacheKey = sha1( $content->getNativeData() );

Event Timeline

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

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

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