atagar created this task. atagar added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION Two of our pywikibot/bot.py classes (Bot and MultipleSitesBot) are functionally near identical and I need some guidance on what we want to do with them... - **Bot <https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/refs/heads/master/pywikibot/bot.py#1516>** is documented as being for multiple sites, and discouraged in favor of MultipleSitesBot. Its **site** property is either defined by the constructor or `init_page()`. - **MultipleSitesBot <https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/refs/heads/master/pywikibot/bot.py#1663>** has a long deprecated **site** property that is defined by its `init_page()`. If we remove this property the class doesn't have anything (it's just a BaseBot). I **think** we want to... 1. Deprecate **Bot** in favor of **MultipleSitesBot**. 2. Un-deprecate the **MultipleSitesBot** site property and keep it because callers need the latest page instance to reference it. Or maybe we should simply deprecate both classes? I need advise from someone more knowledgeable about what this module aims to provide. Thanks! -Damian TASK DETAIL https://phabricator.wikimedia.org/T283209 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: atagar Cc: Aklapper, pywikibot-bugs-list, atagar, Shalomori123, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
