If --only and we've had a hit, no need to continue iteration over $wgQueryPages

--only only accepts one "page"

Change-Id: I561a099cd6ec8a19e8931f6aa5304fc38a474e58