Can you link to the site you are using, and provide the Pywikibot family configuration?
AntiCompositeNumber
On Thu, May 21, 2020 at 11:29 AM John Bray johnbray822@gmail.com wrote:
How do I get rid of the listpages warning
WARNING: /home/fancyclopedia/pywikibot/core/pywikibot/pagegenerators.py:467: UserWarning: Site fancyclopedia:fancyclopedia instantiated using different code "en" self._site = pywikibot.Site()
user-config.py has
mylang = 'en'
LocalSettings.php has
$wgLanguageCode = "en";
Thanks
John
pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot