Restore TypeError for allpages and alllinks
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

smalyshev/pywikibot-core,xZise/pywikibot-core,h4ck3rm1k3/pywikibot-core,jayvdb/pywikibot-core,wikimedia/pywikibot-core,hasteur/g13bot_tools_new,hasteur/g13bot_tools_new,Darkdadaah/pywikibot-core,trishnaguha/pywikibot-core,wikimedia/pywikibot-core,magul/pywikibot-core,npdoty/pywikibot,jayvdb/pywikibot-core,PersianWikipedia/pywikibot-core,VcamX/pywikibot-core,icyflame/batman,emijrp/pywikibot-core,darthbhyrava/pywikibot-local,h4ck3rm1k3/pywikibot-core,happy5214/pywikibot-core,TridevGuha/pywikibot-core,happy5214/pywikibot-core,valhallasw/pywikibot-core,hasteur/g13bot_tools_new,Darkdadaah/pywikibot-core,npdoty/pywikibot,magul/pywikibot-core