Page MenuHomePhabricator

Wikitext unparsed in TemplateSandbox text box label of the 2017 wikitext editor
Closed, ResolvedPublic


Related to T153367 which was recently merged into 1.37.

The text box added in by TemplateSandbox on the 2017 wikitext editor has a label made with wikitext. The problem is that it's left unparsed. See the attached screenshot for a view of it on the English Wikipedia.

image.png (405×498 px, 16 KB)

Event Timeline

The link is supportable in JavaScript, but the template is not: see I would suggest removing it since varying on "template" vs "module" is kind of overkill for this.

Change 691520 had a related patch set uploaded (by Legoktm; author: Legoktm):

[mediawiki/extensions/TemplateSandbox@master] Parse templatesandbox-editform-legend message in VisualEditor

With my patch and the template removed from the message, it looks like:

Screenshot_2021-05-15 Creating Template Foo - Trunk Test.png (812×1 px, 103 KB)

Change 691520 merged by jenkins-bot:

[mediawiki/extensions/TemplateSandbox@master] Parse templatesandbox-editform-legend message in VisualEditor

Legoktm claimed this task.

Will be deployed as part of this week's train. I also updated the en.wp message to remove the template: