Last modified: 2005-06-21 13:57:20 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2895, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 895 - Software variables (e.g. {{ns:user}}) cannot be used to define the source of a template inclusion
Software variables (e.g. {{ns:user}}) cannot be used to define the source of ...
Status: RESOLVED DUPLICATE of bug 662
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
Blocks: 2376
  Show dependency treegraph
Reported: 2004-11-16 13:43 UTC by Rowan Collins [IMSoP]
Modified: 2005-06-21 13:57 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Rowan Collins [IMSoP] 2004-11-16 13:43:55 UTC
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]
Comment 1 lɛʁi לערי ריינהארט 2005-06-09 06:26:09 UTC
This bug relates to bug 662. It might be a duplicate of bug 662 or depend on bug
Comment 2 Ævar Arnfjörð Bjarmason 2005-06-21 13:57:20 UTC
It's a duplicate of bug 662

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

Note You need to log in before you can comment on or make changes to this bug.