Page MenuHomePhabricator

Flow: translate tagged templates are exposing their translation markup in posts
Closed, ResolvedPublic

Description

screenshot

I used {{main}} at mediawiki, and the <translation> tags are exposed.

Eg. https://www.mediawiki.org/wiki/Topic:S1szxoujbqo2b733 shows this markup:

<translate> Main {{<tvar|ifeq1>#ifeq:|</>|article|page}}{{<tvar|if1>#if:</>|s}}:</translate> foocode1>{{</>[[<tvar|link>Template:main</>|main]]<tvar


on trello as https://trello.com/c/1d7TO2pd/


Version: unspecified
Severity: normal

Attached:

www.mediawiki.org_2014-09-05_22-08-59.png (311×761 px, 35 KB)

Details

Reference
bz70476

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:53 AM
bzimport set Reference to bz70476.
bzimport added a subscriber: Unknown Object (MLST).
EBernhardson claimed this task.

I tested this on a normal page, the "error" output in flow is the same as the php parser output so declaring victory. https://www.mediawiki.org/w/index.php?title=User:EBernhardson_(WMF)/Sandbox&oldid=1311604

EBernhardson set Security to None.