Suzukaze-c created this task. Suzukaze-c added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION My scripts (sample: [https://github.com/szc126/miscellaneous/blob/master/script/wiktionary/zhs_bot.py]) apparently stopped reading user-config.py in the last few days. A `print(pywikibot.Site())` tells me that I am operating on `test.wikipedia.org`, and a manual `pywikibot.Site('en', 'wiktionary')` tells me the following. ERROR: username for wiktionary:en is undefined. If you have a username for that site, please add a line to user-config.py as follows: After some digging, changing line 993 <https://gerrit.wikimedia.org/g/pywikibot/core/+/HEAD/pywikibot/config2.py#993> of `config2.py` to `if False:` allowed my scripts to function normally. TASK DETAIL https://phabricator.wikimedia.org/T270941 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Suzukaze-c Cc: Aklapper, pywikibot-bugs-list, Suzukaze-c, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
