Fix getPageType
Merge pull request #3033 from Wikia/ADEN-966-r214

Fix getPageType