Page MenuHomePhabricator

Parser balks at programmatically generated special chanater as external link title
Open, Needs TriagePublic

Description

The MediaWiki parser does not interpret the following code correctly (oldid):

[{{fullurl:Template:*|redirect=no}} {{#if:true|*}}]

It should interpret this as the same as (oldid):

[{{fullurl:Template:*|redirect=no}} *]

For more information, refer to the on-wiki discussion.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 10 2018, 12:43 PM

Sounds for T14974, the added newline is not a safe character inside a url which broke your example

You can add a <nowiki/> or use a html entity

[{{fullurl:Template:*|redirect=no}} {{#if:true|<nowiki/>*}}]
[{{fullurl:Template:*|redirect=no}} {{#if:true|&#42;}}]