using wgPageName instead of wgTitle

wgTitle doesn't include  the namespace prefix