Page MenuHomePhabricator

Parser balks at programmatically generated special chanater as external link title
Closed, DuplicatePublic

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

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;}}]