Page MenuHomePhabricator

Some dynamically-constructed internal links not being parsed
Closed, InvalidPublic

Description

Author: loustyx

Description:
see also http://fr.wikipedia.org/wiki/Mod%C3%A8le:Documentation_param%C3%A9trage_de_carte

First i thought this is a limitation due to cross-references.

But this is not a cross-references problem. see
http://test.wikipedia.org/wiki/Template:Documentation_Location_map
and
http://test.wikipedia.org/wiki/Template:Documentation_Location_map_2


Version: 1.11.x
Severity: major
URL: http:///test.wikipedia.org/wiki/Template:Location_map_Armenia

Details

Reference
bz10553

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:49 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz10553.
bzimport added a subscriber: Unknown Object (MLST).

loustyx wrote:

First see http:///test.wikipedia.org/wiki/Template:Location_map_Armenia

ayg wrote:

Did this used to work? You're doing some pretty funky stuff, building a link whose link text is a template that constructs a template name out of its parameters and calls that with other parameters. Also, is there any simpler case you can build that still doesn't work as expected?

loustyx wrote:

Sorry. This is a template BUG ! (so my own fault :( ) : http://test.wikipedia.org/w/index.php?title=Template:Location_map_Armenia&diff=25250&oldid=25246

A stupid linebreak !

I didn't saw it ; for "[[image:{{Location map {{{name}}}|image}}]]" didn't returned

"[[image:Armenia-locator.png
]]"

but

"[[image:Armenia-locator.png ]]"