* Using Page(Link('Category:' + catTitle)) instead of Page(site, 'Category:' + catTitle): the latter worked bad for non-English namespaces. Page(frwp, 'Category:Test') returns the 'Catégorie:Category:Test'. Bad. * using a local site variable instead of calls to pywikibot.getSite()
* Using Page(Link('Category:' + catTitle)) instead of Page(site, 'Category:' + catTitle):
the latter worked bad for non-English namespaces. Page(frwp, 'Category:Test') returns the 'Catégorie:Category:Test'. Bad.
* using a local site variable instead of calls to pywikibot.getSite()

https://mediawiki.org/wiki/Special:Code/pywikipedia/6424

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