Fixing query string override for loading WikiGrok on en.wiki

The previous version worked everywhere except on en.wiki. On en.wiki
the page actually has a real Wikidata ID, so idOverride would never
get set.

Also fixing function comments so that pre-commit hook doesn't complain.

Change-Id: I4ba04eb34b9b10605672a586769b62c49d583cc7
(cherry picked from commit 726619e0a77973880ce0dd748e23df76f8c44686)