Page MenuHomePhabricator

QINU error in output of TemplateStyles
Open, Needs TriagePublic


I just added a template style to fa:Template:allow wrap and then tested this page which uses the template but it did not have the desired effect. I looked at the browser console while loading the page in debug mode and noted that the output of the TemplateStyles is rendered like this:


Hard to see above, but this starts with a \u007f and ends with one too. In other words, the string is:


Related Objects

Event Timeline

Huji updated the task description. (Show Details)
Huji added a subscriber: Jeeputer.
Aklapper renamed this task from QINU error in output of TemplateStyels to QINU error in output of TemplateStyles.May 18 2021, 2:14 PM
Aklapper removed a project: MediaWiki-Parser.

@Huji this is because the generate templatestyle is fed as plaintext to a Lua module this way. In general you should avoid using formatting templates in values for templates.

I do believe there are some tricks around this problem... I just don't know them by heart...