Last modified: 2010-05-15 14:36:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 561 - {{/Subpage}} acts like {{Template:/Subpage}}
{{/Subpage}} acts like {{Template:/Subpage}}
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: parser
Depends on:
  Show dependency treegraph
Reported: 2004-09-22 21:42 UTC by Alan Barrett
Modified: 2010-05-15 14:36 UTC (History)
1 user (show)

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


Description Alan Barrett 2004-09-22 21:42:26 UTC
Constructs like {{/Subpage}} behave like {{Template:/Subpage}}, whereas they should  
act like {{{{NAMESPACE}}:{{PAGENAME}}/Subpage}}, by analogy with the behaviour of 

This sort of thing would be useful on [[en:Wikipedia:Votes for deletion]], where there 
are a lot of sub pages referenced via {{Wikipedia:Votes for deletion/Subpage}}.
Comment 1 Antoine "hashar" Musso (WMF) 2004-09-22 21:48:00 UTC
[[foobar]] default to article namespace where as
{{foobar}} default to template namespace.

It's indeed working as intended. You should use something like {{:/subpage}}
Comment 2 River Tarnell 2004-09-22 21:52:33 UTC
{{:/Subpage}} doesn't work either.
Comment 3 Wil Mahan 2004-09-22 22:06:55 UTC
The template inclusion code simply doesn't check for subpages. It would be
possible to fix this, but there is an easy workaround: just use the full page
name {{Page/Subpage}}. So I think this should be a lower priority than bug fixes
at the moment. 
Comment 4 Antoine "hashar" Musso (WMF) 2004-09-22 22:11:56 UTC
Maybe we can get the code that manage subpages from replaceinternallink()
and put it in its own function. This way we can call it for both [[ and
{{ .
Comment 5 Ilyanep 2004-09-25 19:03:03 UTC
Actually...I don't think there is a way to reference the main namespace in a
themplate syntax
Comment 6 Wil Mahan 2004-09-25 20:38:35 UTC
Fixed in HEAD. It is already possible to reference the main namespace with {{:foo}}.
Comment 7 Brion Vibber 2004-12-11 23:41:16 UTC
1.4 release imminent, resolving as fixed.

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