Last modified: 2011-05-03 21:31:56 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 T30795, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 28795 - {{FULLPAGENAME}} does not return colon in Article namespace
{{FULLPAGENAME}} does not return colon in Article namespace
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.17.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-03 13:35 UTC by Bergi
Modified: 2011-05-03 21:31 UTC (History)
3 users (show)

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


Attachments

Description Bergi 2011-05-03 13:35:36 UTC

    
Comment 1 Bergi 2011-05-03 13:45:31 UTC
Sorry for opening an empty bug, I unintentionally posted the form while typing.

The issue is that {{FULLPAGENAME}} returns the same value as {{PAGENAME}} in article namespace (empty prefix): the colon is missing. It would be needed in template transclusion of articles, for example {{ {{FULLPAGENAME}}/test }}. In other namespaces it works correctly, in articles it tries to find a template of that name; you will have to write {{ :{{[FULL]PAGENAME}}/test }}.

Or am I wrong and this behavior is intended?
Comment 2 Platonides 2011-05-03 21:31:56 UTC
{{FULLPAGENAME}} is also used for display purposes.

You can just do {{:{{FULLPAGENAME}}/test}}

{{:Template:Foo/test}} will still do the right thing.

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


Navigation
Links