[Mediawiki-l] Breaking of URL with ' and ()

Tim Landscheidt tim at tim-landscheidt.de
Sun Mar 14 18:48:05 UTC 2010


Eric K <ek79501 at yahoo.com> wrote:

> [Problems of computers (not) parsing human readable text]
> So its a very common problem and because there are so many page titles with these characters, there are likely thousands of links that break every day from Wikipedia, other wikis and other websites.

> We know ofcourse its not the fault of Mediawiki because this is a URL-related problem that falls under the responsibility of the people who program the interfaces that produce the links, but - what can be done about this?
> [...]

You can add a JavaScript thingy that translates any "'"s,
"("s or ")"s in the article URL to their "%xy" counterparts
and provides the link in some convenient place (similar to
Google Maps).

Tim




More information about the MediaWiki-l mailing list