Last modified: 2010-05-15 14:36:14 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 T5831, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3831 - Add new variable NAMESPACEE for encoded namespace (like PAGENAMEE)
Add new variable NAMESPACEE for encoded namespace (like PAGENAMEE)
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.6.x
PC Linux
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://pt.wikipedia.org/wiki/Predefin...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-30 01:58 UTC by Cesar Eduardo Barros
Modified: 2010-05-15 14:36 UTC (History)
0 users

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


Attachments

Description Cesar Eduardo Barros 2005-10-30 01:58:11 UTC
{{PAGENAMEE}} is useful when you want only the page name without the namespace
for a URL, but if you also wanted the namespace, you would need a encoded
version of {{NAMESPACE}}.

This would allow the creation of a escaped URL without having to use
{{localurl}} (which cannot be used on [[Template:Deletedpage]] and its localized
versions, because they have to point to the Wikipedia URL even when included on
a mirror).
Comment 1 Ævar Arnfjörð Bjarmason 2005-11-03 12:56:18 UTC
Why do they have to point to Wikipedia even when mirrored?
Comment 2 Cesar Eduardo Barros 2005-11-04 19:09:24 UTC
Sorry, I meant [[Template:Userpage]].
Comment 3 lɛʁi לערי ריינהארט 2005-11-16 20:22:57 UTC
See
bug 3997: suggesting a new variable {{FULLPAGENAME}} and {{FULLPAGENAMEE}}

Tom's suggestion "strips" a colon which would be generated with
{{NAMESPACE}}:{{PAGENAME}} and {{NAMESPACEE}}:{{PAGENAMEE}} . 

regards reinhardt [[user:gangleri]]
Comment 4 Ævar Arnfjörð Bjarmason 2005-11-21 17:51:07 UTC
FIXED in CVS HEAD.
Comment 5 lɛʁi לערי ריינהארט 2005-11-21 21:50:24 UTC
Thanks a lot!

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


Navigation
Links