Software variables (e.g. {{ns:user}}) cannot be used to define the source of a template inclusion
Closed, ResolvedPublic

Description

Author: rowan.collins

Description:
The syntax {{{{ns:user}}:Foo/Bar}} ought to behave the same as {{User:Foo/Bar}}
on a wiki where "{{ns:user}}" translates to "User" (i.e. it ought to include
that page). Instead, it breaks and is output directly as "{{User:Foo/Bar}}" (or
whatever the correct value of "{{ns:user}} is).

Apart from just using the local name in the template anyway, there is a
workaround for this: the built-in "canonical names" for the namespaces (which
are the English ones) can be used on any wiki. Therefore {{User:Foo/Bar}} will
include the page {{Benutzer:Foo/Bar}} on a German wiki, and so on.

For that reason, and because other variables, such as {{SITENAME}}, seem to work
OK, I'm going to call this 'minor severity' and 'low priority'.

[+keyword "parser", since this is probably only not working because of the
complexity of making something else work in the current not-a-parser]


Version: unspecified
Severity: enhancement

bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz895.
bzimport created this task.Via LegacyNov 16 2004, 1:43 PM
bzimport added a comment.Via ConduitJun 9 2005, 6:26 AM

gangleri wrote:

This bug relates to bug 662. It might be a duplicate of bug 662 or depend on bug
662.

bzimport added a comment.Via ConduitJun 21 2005, 1:57 PM

avarab wrote:

It's a duplicate of bug 662

*** This bug has been marked as a duplicate of 662 ***

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.