Thread:Project:Support desk/Using ampersands in a extension.

MediaWiki	1.23.5 PHP	5.4.24 (cgi-fcgi) MySQL	5.5.37-cll

Script: http://pastebin.com/HzVHm5k3

If you look at line 23, i have ampersands in a URL, when i run the script, it returns  instead of. Ive googled, and tried everything i can think of, anyone know how to fix this?

Example: http://www.celeb-wiki.com/index.php?title=Sandbox