Fix getPageType
Merge pull request #3031 from Wikia/ADEN-966-dev

Fix getPageType