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

Change 769974 merged by jenkins-bot:

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

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

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 all task assignees on 2024-04-15.
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 #1251569 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/extensions/TemplateStyles@master] Remove use of deprecated Content::getNativeData()

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

Change #1251569 merged by jenkins-bot:

[mediawiki/extensions/TemplateStyles@master] Remove use of deprecated Content::getNativeData()

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