Last modified: 2010-05-15 14:36:14 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 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