Wikia/app — pull request #4774 by macbre (2014-09-15 13:18:21+00:00)
Title: ImageServing: prevent queries by page_id = 0

Avoid the following queries:

```sql
SQL SELECT /* ImageServing::getImages Bloodsucker616 */ page_namespace as ns,page_title as title,page_id as id FROM `page` WHERE page_id = '0'
```