Last modified: 2006-01-26 20:45:35 UTC
Previously I asked for an escaped version of PAGENAME and came back with one that escaped spaces to underscores. That's not exactly what I wanted. What I wanted was a variable that escaped the name of a page as though it were a URL. For example: Page name => Page%20name I would prefer that such a variable be named PAGENAMEUE. Thanks. --[[:w:User:Poccil]]
What is the difference between an underscore and a %20 for a URL to a wiki page?
(In reply to comment #1) > What is the difference between an underscore and a %20 for a URL to a wiki page? The difference is manifested when one wants to use the variable to express a search phrase as an external link to a search engine. For example, Google will not parse the name Page_name in the same way as it would parse Page%20name. --User:Poccil
Template:Google is often used with a parameter other than the page title, so a generalized {{urlescape:text}} would be useful.
Just to check the status of this feature request.
I support the suggestion for: A general {{urlescape:text}}
This is possible by typing {{PAGENAMEE}} now! Thus I close this bug.