Thread:Airhogs777/@comment-5587036-20120208185759/@comment-824313-20120209051106

Hmm... looks like wgPageName doesn't return the page name with variables, just the name of the special page. Try fbReturnToTitle instead.