Hello. I have a question: How can I encode text to text that is used for headings in URLs. E.g. code for '$' is .24. Thanks for any suggestions. P.S. Sorry for my terrible English. -MGrabovsky
65s.mg-a4qEbw8STSk@public.gmane.org writes:
Hello. I have a question: How can I encode text to text that is used for headings in URLs. E.g. code for '$' is .24. Thanks for any suggestions. P.S. Sorry for my terrible English. -MGrabovsky
Use {{anchorencode:text}} --VasilievVV
65s.mg wrote:
Hello. I have a question: How can I encode text to text that is used for headings in URLs. E.g. code for '$' is .24. Thanks for any suggestions. P.S. Sorry for my terrible English. -MGrabovsky
$ character has the ascii code 36, which is hex 24. It's like urlencode, but using dots instead of %
Putting the unescaped part in a [[ ]] link *should* give you the right one.
wikitech-l@lists.wikimedia.org