Forum:Magic words does not seem to work

I have a big template which is based on Wikipedia's Template:infobox.

On header80 I have the following:


 * Edit this template

Which uses Magic Words most of the time is works great, but if a page name has an apostrophe ' or a bracket in the name, it does not work.

For example, instead of


 * http://dead-rising.wikia.com/index.php?title=Template:Colby's+Movieland+Cinema+1&action=edit

It gives me:


 * http://dead-rising.wikia.com/index.php?title=Template:Colby%26%2339%3Bs+Movieland+Cinema+1&action=edit

Any suggestions? I have read magic words several times, and don't know what to do.

Thank you very much in advance. :) Anno1404 05:48, August 1, 2010 (UTC)