Last modified: 2010-07-18 17:22:17 UTC
http://www.wikipedia.org/wiki/{{urlencode:Page Name}} returns http://www.wikipedia.org/wiki/Page+Name. We need a function either to get http://www.wikipedia.org/wiki/Page_Name or to replace 'space' to '_' in {{PAGENAME}} to get "Page_Name" http://www.wikipedia.org/wiki/{{anchorencode:Page Name} return http://www.wikipedia.org/wiki/Page_Name. but it is not useful when we use Non-Latin PAGENAME. it converts '%' to '.' too. please see https://bugzilla.wikimedia.org/show_bug.cgi?id=7059 and https://bugzilla.wikimedia.org/show_bug.cgi?id=839 for more information. We face this problem in http://ml.wikipedia.org/wiki/Template:Sarvavijnanakosam. Its not possible to make a link to other wiki article if Page Name contain Non-Latin character with space. Example: An article in Malayalam Wikipedia (http://ml.wikipedia.org/wiki/തൊപ്പിക്കാരൻ_കുരങ്ങ്) required link to similar article in Sarvavijnanakosam (http://mal.sarva.gov.in/index.php/തൊപ്പിക്കാരന്_കുരങ്ങ്)
*** This bug has been marked as a duplicate of bug 22474 ***
Not yet active on Wikimedia, it seems, but the feature is implemented.
It seems the following functions not working in mediawiki.org {{urlencode:hi world?!}} {{urlencode:hi world?!|WIKI}} {{urlencode:hi world?!|PATH}} {{urlencode:hi world?!|QUERY}}
It was implemented in r64726, not available yet on wikimedia wikis.
Shall I report another bug with "Product:Wikimedia"
No.