Page MenuHomePhabricator

Substing bypasses <nowiki>
Closed, DeclinedPublic

Description

A given page with <nowiki>{{subst:PageA}}</nowiki>, when substed on PageB
returns the wikicode of PageA.

You can also see it if you call on a page "Please
<nowiki>{{subst:Template}}</nowiki>" and then {{subst:Template}} on another
page, as it becames <nowiki>[[Template:Template]]<!-- WARNING: template loop
detected --></nowiki>

You can use <nowiki>{{subst:</nowiki>PageA<nowiki>}}</nowiki> or
<nowiki>{{</nowiki>subst:PageA<nowiki>}} as workaround.

Bug or feature?


Version: unspecified
Severity: normal

Details

Reference
bz7400

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:27 PM
bzimport set Reference to bz7400.
bzimport added a subscriber: Unknown Object (MLST).

fuhghettaboutit wrote:

This bug is continuing to cause problems. After I asked as
the Wikipedia help desk why when I substitituted
[[User:Fuhghettaboutit/Toolbox]] the nowiki tags were not
working, I was referred here.--~~~~

Bug 7400

This patch fixes this bug. Now, someone familiar enough with the Parser should
check nothing gets broken.

See you at the madhouse.

Attached:

nicdumz wrote:

Has been fixed with the new parser, apparently.