Last modified: 2006-03-16 18:13:39 UTC
If an article has a space in its title, {{fullurl:{{FULLPAGENAME}}}} is smart enough to convert the space to an _. But it fails to correctly escape (, ), +, %, and possibly other characters. This causes the following two problems, and possibly others: 1) At a page with % in its title, {{fullurl:{{FULLPAGENAME}}}} produces an invalid URL. For example, if the page title is merely %, the URL is http://en.wikipedia.org/wiki/%, instead of .../wiki/%25 2) See http://en.wikipedia.org/wiki/Ben-Hur_%281959_film%29 Click on one of the footnote links (there's one at the beginning of the second paragraph of the "Synopsis" section). The link is to http://en.wikipedia.org/wiki/Ben-Hur_(1959_film)#endnote_galleyslave Since that URL is different from the current page, it forces the web browser to reload the same article, instead of simply jumping down to the footnote. MediaWiki already has the ability to convert arbitrary strings to links. For example, it knows how to produce URLs for [[Ben-Hur (1959 film)]] and [[%]]. The {{fullurl}} code should simply use ''exactly the same routine'' that MediaWiki uses everywhere else.
*** This bug has been marked as a duplicate of 4781 ***