Restore TypeError for allpages and alllinks

21a6732 implemented TypeError for multiple namespaces used with
allpages and alllinks, however it is not operative as these methods
were bypassing QueryGenerator's namespace handling.

Change-Id: Id620ca8004cfc5c65f047f4e7cb131ab2378167f
Merge "Restore TypeError for allpages and alllinks"