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 <[email protected]> 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
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/pywikibot

_______________________________________________
pywikibot mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot

Reply via email to