Swap out $wgQueryPages usage.