Ensure data.query is present in template request

Recently deleted pages seem to return without it.

ERROR in itwiki:Clive_Forster_Cooper
TypeError: Cannot read property 'normalized' of undefined

Bug: 58355
Change-Id: I154fbde488968ebce55a4f2fb5d83bff939e7570