using wgPageName instead of wgTitle

wgTitle doesn't include  the namespace prefix
Merge pull request #2 from qiankanglai/master

replace wgTitle with wgPageName