Page MenuHomePhabricator

Add new variable NAMESPACEE for encoded namespace (like PAGENAMEE)
Closed, ResolvedPublic


{{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).

Version: 1.6.x
Severity: enhancement
OS: Linux
Platform: PC



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:55 PM
bzimport set Reference to bz3831.
bzimport added a subscriber: Unknown Object (MLST).

avarab wrote:

Why do they have to point to Wikipedia even when mirrored?

Sorry, I meant [[Template:Userpage]].

gangleri wrote:

bug 3997: suggesting a new variable {{FULLPAGENAME}} and {{FULLPAGENAMEE}}

Tom's suggestion "strips" a colon which would be generated with

regards reinhardt [[user:gangleri]]