Xqt created this task. Xqt added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION **Current implementation** - param `code`: The site code as string or Site object. **Problem with string** - if xdict is an extended dictionary with family name as key for the underlying code dictionary, the config.family is used as family name. This may lead to unexpected family lookup: The family of the site object may be different from the default site, e.g. if using a MultipleSiteBot. **Proposed solution** - A Site object should be used in favour of the code string. Keep the old implementation but show an appropriate warning TASK DETAIL https://phabricator.wikimedia.org/T255912 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, pywikibot-bugs-list, Xqt, 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
