Merge pull request #5141 from Wikia/newgalleries-not-for-API

Do not output "new galleries" for API requests